王刚 пре 3 година
родитељ
комит
0e6a47aeb2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Gameserver/Amfphp/base/Req.php

+ 1 - 1
Gameserver/Amfphp/base/Req.php

@@ -107,7 +107,7 @@ class Req extends Object_ext {
         if (!$clone->userInfoChanged) {
             unset($clone->userInfo);                                                # 删除不必要的字段
         }
-        return $clone;
+        return (array) $clone;
     }
 
     // <editor-fold defaultstate="collapsed" desc="单例:想着以后不在通过函数透传此对象了">