summaryrefslogtreecommitdiff
path: root/lib/frontend.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-03-30 00:06:05 -0400
committerlolcat <will@lolcat.ca>2024-03-30 00:06:05 -0400
commitdd3469aeb67631fd49b4f7a78a036187628eda44 (patch)
treee719282f61514d2ef5046d0b816a0a0a1117f46a /lib/frontend.php
parent0f2f97e5a3b6381566b761d4a6e9451128201b43 (diff)
error handling bug again
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",