Browse Source

This is terrible

RiX 9 years ago
parent
commit
730a865fc7
1 changed files with 3 additions and 3 deletions
  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;
 		}
 	}
-?>
+?>