mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +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
|
||||
$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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue