Explorar o código

bugfix:
- remove exception for user id: 1

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

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

@@ -63,7 +63,6 @@ if (isset($_POST["remove"])) {
     $fid = $_POST["fid"];
     foreach ($fid as $key => $val) {
         if ($val) {
-            if ($val == 1) { continue; }
             $login = get_record($db_link,"User_list","id='$val'");
             LOG_INFO($db_link, "Delete device for user id: $val");
             $device= get_record($db_link,"devices","user_id='$val'");