From ad4c79ce6d56a6711756b1eb8ff84f424cc592a4 Mon Sep 17 00:00:00 2001 From: BJRambo Date: Mon, 3 Dec 2018 21:21:54 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8F=AC=EC=9D=B8=ED=8A=B8=EB=A5=BC=20?= =?UTF-8?q?=EC=A0=80=EC=9E=A5=ED=95=98=EB=8A=94=20=EB=B6=80=EB=B6=84?= =?UTF-8?q?=EC=97=90=20=EC=A0=81=EC=9A=A9=EC=97=AC=EB=B6=80=EB=A5=BC=20?= =?UTF-8?q?=ED=99=95=EC=9D=B8=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=EA=B3=A0=EC=B9=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/point/point.controller.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/point/point.controller.php b/modules/point/point.controller.php index b55b07263..171e28ee6 100644 --- a/modules/point/point.controller.php +++ b/modules/point/point.controller.php @@ -642,8 +642,14 @@ class pointController extends point // If there are points, update, if no, insert $oPointModel = getModel('point'); - if($oPointModel->isExistsPoint($member_srl)) executeQuery("point.updatePoint", $args); - else executeQuery("point.insertPoint", $args); + if ($oPointModel->isExistsPoint($member_srl)) + { + $output = executeQuery("point.updatePoint", $args); + } + else + { + $output = executeQuery("point.insertPoint", $args); + } // Get a new level $level = $oPointModel->getLevel($point, $config->level_step);