Browse Source

Update User\Save

Visman 3 years ago
parent
commit
fabe431bf8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/User/Save.php

+ 1 - 1
app/Models/User/Save.php

@@ -38,7 +38,7 @@ class Save extends Action
         ) {
             $fileds = $this->c->dbMap->online;
             $table  = 'online';
-            $where  = 'user_id=1 AND ident=?s';
+            $where  = 'user_id=0 AND ident=?s';
         } else {
             $fileds = $this->c->dbMap->users;
             $table  = 'users';