vali 6 vuotta sitten
vanhempi
commit
ba6e938676
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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) {