Procházet zdrojové kódy

can you just be fixed you fucking piece of shit

lolcat před 2 roky
rodič
revize
12b67af69c
1 změnil soubory, kde provedl 6 přidání a 1 odebrání
  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", [