vali 6 жил өмнө
parent
commit
4ee001d054

+ 1 - 1
application/index/controller/Register.php

@@ -130,7 +130,7 @@ class Register extends Common
             }
         }
 
-        if ($nowuid) {
+        if (!empty($nowuid)) {
             $old = Db::name('accounts')->where(['account_name' => $nowuid])->find();
             if ($old) {
                 Db::name('accounts')->where(['account_name' => $nowuid])->update(['last_login_time' => time()]);