diff --git a/hwe/b_betting.php b/hwe/b_betting.php index a1ab5642..43ff0d02 100644 --- a/hwe/b_betting.php +++ b/hwe/b_betting.php @@ -184,7 +184,11 @@ for ($i=0; $i < 4; $i++) { $cent[$i] = ""; } for ($i=0; $i < 8; $i++) { - $general = MYDB_fetch_array($result); + $general = MYDB_fetch_array($result)??[ + 'npc'=>0, + 'name'=>'', + 'win'=>0 + ]; if ($general['name'] == "") { $general['name'] = "-"; }