mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2024-12-24 23:56:34 -05:00
error handling bug again
This commit is contained in:
parent
0f2f97e5a3
commit
dd3469aeb6
1 changed files with 6 additions and 1 deletions
|
@ -142,7 +142,12 @@ class frontend{
|
|||
die();
|
||||
}
|
||||
|
||||
public function drawscrapererror($error, $get, $target, $timetaken = microtime(true)){
|
||||
public function drawscrapererror($error, $get, $target, $timetaken = null){
|
||||
|
||||
if($timetaken === null){
|
||||
|
||||
$timetaken = microtime(true);
|
||||
}
|
||||
|
||||
$this->drawerror(
|
||||
"Shit",
|
||||
|
|
Loading…
Reference in a new issue