summaryrefslogtreecommitdiff
path: root/lib/frontend.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/frontend.php')
-rw-r--r--lib/frontend.php7
1 files changed, 6 insertions, 1 deletions
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",