From 6b1b4fdfbbd18aea0426f268d019b7219dc9953a Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 23 Jun 2018 22:55:59 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=A0=ED=8C=85=20=ED=91=9C=EA=B8=B0=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/b_betting.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hwe/b_betting.php b/hwe/b_betting.php index 5e17c32b..97fd71ed 100644 --- a/hwe/b_betting.php +++ b/hwe/b_betting.php @@ -297,7 +297,13 @@ for ($i=0; $i < 16; $i++) { } for ($i=0; $i < 16; $i++) { - $gold[$i] = Util::round($myBet[$i] * $bet[$i]); + if(!is_numeric($bet[$i])){ + $gold[$i] = 0; + } + else{ + $gold[$i] = Util::round($myBet[$i] * $bet[$i]); + } + } ?>