vali 6 years ago
parent
commit
5af7fe3053
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vendor/GatewayWorker_windows/Applications/whisper/Events.php

+ 1 - 1
vendor/GatewayWorker_windows/Applications/whisper/Events.php

@@ -437,7 +437,7 @@ class Events
     //得到一个用户详细信息
     public static function kfgetuserinfo($clientid, $id)
     {
-        $ret = self::$db->select('*')->from('ws_account')->where('id=:id')->bindValues($id)->row();
+        $ret = self::$db->select('*')->from('ws_account')->where('id=:id')->bindValues(['id'=>$id])->row();
         Gateway::sendToClient($clientid, json_encode(['message_type' => 'userdetailinfo', 'data' => $ret]));
         return;
     }