Explorar el Código

can you just be fixed you fucking piece of shit

lolcat hace 2 años
padre
commit
12b67af69c
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  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", [