Sfoglia il codice sorgente

can you just be fixed you fucking piece of shit

lolcat 2 anni fa
parent
commit
12b67af69c
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  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", [