10
0

2 Revīzijas 7899a00e2c ... f30f439930

Autors SHA1 Ziņojums Datums
  solupro f30f439930 Merge remote-tracking branch 'origin/master' 5 gadi atpakaļ
  solupro f42af2a89a 修改判断 5 gadi atpakaļ
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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']}");
         }