Explorar o código

bugfix:
- fixed add new user

Dmitriev Roman %!s(int64=4) %!d(string=hai) anos
pai
achega
158614e4e0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      html/admin/users/index.php

+ 1 - 1
html/admin/users/index.php

@@ -30,7 +30,7 @@ if (isset($_POST["create"])) {
 	        }
             $lid=insert_record($db_link, "User_list", $new);
             LOG_WARNING($db_link,"Создан новый пользователь: Login => $login");
-            header("Location: edituser.php?id=$id");
+            header("Location: edituser.php?id=$lid");
             exit;
         }
     }