diff --git a/lib/frontend.php b/lib/frontend.php index 2b7fea2..4f992ca 100644 --- a/lib/frontend.php +++ b/lib/frontend.php @@ -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",