vali 6 lat temu
rodzic
commit
9833b26a34
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Logic/UnSettmatchLogic.php

+ 1 - 1
app/Logic/UnSettmatchLogic.php

@@ -259,7 +259,7 @@ class UnSettmatchLogic
     {
         $model = new MoneyBuyStrModel();
         $model2 = new MoneyBuyMatchModel();
-        $rets2 = $model2->getByAttrs(['match_id' => $match_id, 'bet_type' => 2, 'game_code' => $game_code]);
+        $rets2 = $model2->getByAttrs([['match_id', '=', $match_id], ['bet_type', '=', 2], ['game_code', '=', $game_code]]);
         $orders = [];
         if ($rets2) {
             foreach ($rets2 as $item) {