1
0
Эх сурвалжийг харах

can you just be fixed you fucking piece of shit

lolcat 2 жил өмнө
parent
commit
12b67af69c
1 өөрчлөгдсөн 6 нэмэгдсэн , 1 устгасан
  1. 6 1
      lib/frontend.php

+ 6 - 1
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", [