Explorar o código

钻石商城bug修复

cyzhao hai 1 ano
pai
achega
a1c98dc9cb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Gameserver/App/process/ShopProc.php

+ 1 - 1
Gameserver/App/process/ShopProc.php

@@ -296,7 +296,7 @@ class ShopProc {
                 my_Assert($mo != null, ErrCode::err_const_no); 
                 
                 $tag = false;
-                if(StlUtil::dictHasProperty($user->privateState->cashShopReceived, $typeId)){
+                if(in_array($typeId,$user->privateState->cashShopReceived)){
                     $tag = true;            
                 }