mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
포인트를 저장하는 부분에 적용여부를 확인하지 않는 문제 고침
This commit is contained in:
parent
4b6737800f
commit
ad4c79ce6d
1 changed files with 8 additions and 2 deletions
|
|
@ -642,8 +642,14 @@ class pointController extends point
|
||||||
|
|
||||||
// If there are points, update, if no, insert
|
// If there are points, update, if no, insert
|
||||||
$oPointModel = getModel('point');
|
$oPointModel = getModel('point');
|
||||||
if($oPointModel->isExistsPoint($member_srl)) executeQuery("point.updatePoint", $args);
|
if ($oPointModel->isExistsPoint($member_srl))
|
||||||
else executeQuery("point.insertPoint", $args);
|
{
|
||||||
|
$output = executeQuery("point.updatePoint", $args);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$output = executeQuery("point.insertPoint", $args);
|
||||||
|
}
|
||||||
|
|
||||||
// Get a new level
|
// Get a new level
|
||||||
$level = $oPointModel->getLevel($point, $config->level_step);
|
$level = $oPointModel->getLevel($point, $config->level_step);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue