vali %!s(int64=6) %!d(string=hai) anos
pai
achega
ba6e938676
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Logic/WinfailLogic.php

+ 1 - 1
app/Logic/WinfailLogic.php

@@ -215,7 +215,7 @@ class WinfailLogic
         $AdapterObj = $this->getAdapterObj($game_code);
         $RefClass = new  \ReflectionClass($AdapterObj);
 
-        $result = json_decode($orderInfo->single_result);
+        $result = json_decode($orderInfo->single_result, true);
         $winorfalsedef = ['result' => 2, 'matchResult' => 'noRuleOrError'];
 
         foreach ($matchArray as $matchModel) {