Explorar o código

This is terrible

RiX %!s(int64=9) %!d(string=hai) anos
pai
achega
730a865fc7
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      user.php

+ 3 - 3
user.php

@@ -607,11 +607,11 @@ EOT;
 
                     array_push($gotFailLog["auth"], $failLogEntry);
                     
-                    $writeFailLog = json_encode($gotFailLog);
+                    $writeFailLog = str_replace("date", "\r\ndate", json_encode($gotFailLog));
 
                 }else{
 
-                    $writeFailLog = json_encode($failLogEntryFirst);
+                    $writeFailLog = str_replace("date", "\r\ndate", json_encode($failLogEntryFirst));
 
                 }
                 
@@ -833,4 +833,4 @@ EOT;
 			return $string;
 		}
 	}
-?>
+?>