2 Achegas 7899a00e2c ... f30f439930

Autor SHA1 Mensaxe Data
  solupro f30f439930 Merge remote-tracking branch 'origin/master' %!s(int64=5) %!d(string=hai) anos
  solupro f42af2a89a 修改判断 %!s(int64=5) %!d(string=hai) anos
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      protected/models/User.php

+ 1 - 1
protected/models/User.php

@@ -164,7 +164,7 @@ class User extends Singleton {
         $objUserBindInfo = new TableHelper('user_bind_info', 'dw_chat');
 
         $user = $objUser->getRow(['user_id' => $user_id]);
-        if ($user['first_type'] == $type && $user['first_account'] != $account) {
+        if ($user['first_type'] == $type && strtolower($user['first_account']) != strtolower($account)) {
             Response::error(CODE_NORMAL_ERROR, "this account {$type} must be bind {$user['first_account']}");
         }