vali 6 år sedan
förälder
incheckning
16c89f4e16
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;
     }