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

+ 1 - 1
app/Logic/UnSettmatchLogic.php

@@ -234,7 +234,7 @@ class UnSettmatchLogic
     public function changeStatus($game_code, $match_id)
     {
         $table = 'st_' . $game_code . '_result';
-        $ret = DB::name($table)->where('match_id', $match_id)->update(['status' => 4]);
+        $ret = DB::table($table)->where('match_id', $match_id)->update(['status' => 4]);
         return $ret;
     }