vali преди 6 години
родител
ревизия
5db24332f7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Logic/WinfailLogic.php

+ 1 - 1
app/Logic/WinfailLogic.php

@@ -86,7 +86,7 @@ class WinfailLogic
         $return = [];
         $ret = DB::table("money_buy_match")->where(['game_code' => $type, 'match_id' => $match_id, 'bet_type' => $bet_type])->get();
         if (count($ret) <= 0) {
-            return;
+            return [];
         }
 
         foreach ($ret as $val) {