From 3dcf5ce75f2166e1e158edcf99838cc7008edac6 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Fri, 28 Jan 2022 14:12:42 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=EB=B2=A0=ED=8C=85=EC=8B=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20=ED=8F=AC=EC=9D=B8=ED=8A=B8=20=EB=B6=80?= =?UTF-8?q?=EC=97=AC=20=EB=B6=88=EA=B0=80"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 6fb4a1b2745c524ae15302d0f33c6b80a6b5d632. --- hwe/sammo/API/Betting/Bet.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hwe/sammo/API/Betting/Bet.php b/hwe/sammo/API/Betting/Bet.php index 91005cb5..3102eb89 100644 --- a/hwe/sammo/API/Betting/Bet.php +++ b/hwe/sammo/API/Betting/Bet.php @@ -134,11 +134,7 @@ class Bet extends \sammo\BaseAPI 'amount'=>$amount ]); - $db->insertUpdate( - 'ng_betting', - $bettingItem->toArray(), - ['amount' => $db->sqleval('amount + %i', $amount)] - ); + $db->insertUpdate('ng_betting', $bettingItem->toArray()); if($bettingInfo->reqInheritancePoint){ $inheritStor->setValue('previous', [$remainPoint - $amount, null]); }