error handling bug again
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user