vali %!s(int64=6) %!d(string=hai) anos
pai
achega
9833b26a34
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {