summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-03-30 00:25:19 -0400
committerlolcat <will@lolcat.ca>2024-03-30 00:25:19 -0400
commit12b67af69c7a3fe4d82b5a30fe0e1eeb6db2fc34 (patch)
treedc0fe35a8cd0ea6a37f0e1f0cabe23a8e3fbe45e /lib
parentdd3469aeb67631fd49b4f7a78a036187628eda44 (diff)
can you just be fixed you fucking piece of shit
Diffstat (limited to 'lib')
-rw-r--r--lib/frontend.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/frontend.php b/lib/frontend.php
index 4f992ca..f3810df 100644
--- a/lib/frontend.php
+++ b/lib/frontend.php
@@ -125,7 +125,12 @@ class frontend{
}
}
- public function drawerror($title, $error, $timetaken){
+ public function drawerror($title, $error, $timetaken = null){
+
+ if($timetaken === null){
+
+ $timetaken = microtime(true);
+ }
echo
$this->load("search.html", [