Parcourir la source

钻石商城bug修复

cyzhao il y a 1 an
Parent
commit
a1c98dc9cb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;            
                 }