forked from lolcat/4get
error handling bug again
This commit is contained in:
parent
0f2f97e5a3
commit
dd3469aeb6
|
@ -142,7 +142,12 @@ class frontend{
|
||||||
die();
|
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(
|
$this->drawerror(
|
||||||
"Shit",
|
"Shit",
|
||||||
|
|
Loading…
Reference in New Issue