Explorar o código

fix log message for dleete auth record in doubles page

Roman Dmitriev %!s(int64=2) %!d(string=hai) anos
pai
achega
5df859d1ff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      html/admin/iplist/doubles.php

+ 1 - 1
html/admin/iplist/doubles.php

@@ -10,7 +10,7 @@ if (isset($_POST["removeauth"])) {
                 run_sql($db_link, 'DELETE FROM connections WHERE auth_id='.$val);
                 run_sql($db_link, 'DELETE FROM connections WHERE auth_id='.$val);
                 run_sql($db_link, 'DELETE FROM User_auth_alias WHERE auth_id='.$val);
                 run_sql($db_link, 'DELETE FROM User_auth_alias WHERE auth_id='.$val);
                 $changes=delete_record($db_link, "User_auth", "id=" . $val);
                 $changes=delete_record($db_link, "User_auth", "id=" . $val);
-                if (!empty($changes)) { LOG_WARNING($db_link,"Remove user ip: \r\n $changes"); }
+                if (!empty($changes)) { LOG_WARNING($db_link,"Remove user ip: $changes"); }
                 }
                 }
             }
             }
     header("Location: " . $_SERVER["REQUEST_URI"]);
     header("Location: " . $_SERVER["REQUEST_URI"]);