mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 02:01:40 +09:00
포인트 모듈에서 숫자만 설정 되도록 변경, 모듈별 포인트가 0일때도 처리 되도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2644 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3565adecc4
commit
26c508db41
2 changed files with 13 additions and 13 deletions
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
// 포인트를 구해옴
|
||||
$point = $config->module_point[$module_srl]['insert_document'];
|
||||
if(!$point) $point = $config->insert_document;
|
||||
if($point == null) $point = $config->insert_document;
|
||||
|
||||
// 포인트 증감
|
||||
$cur_point += $point;
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
|
||||
// 포인트를 구해옴
|
||||
$point = $config->module_point[$module_srl]['insert_document'];
|
||||
if(!$point) $point = $config->insert_document;
|
||||
if($point == null) $point = $config->insert_document;
|
||||
|
||||
// 포인트 차감
|
||||
$cur_point = $oPointModel->getPoint($target_member_srl, true);
|
||||
|
|
@ -90,7 +90,7 @@
|
|||
|
||||
// 포인트를 구해옴
|
||||
$point = $config->module_point[$module_srl]['insert_comment'];
|
||||
if(!$point) $point = $config->insert_comment;
|
||||
if($point == null) $point = $config->insert_comment;
|
||||
|
||||
// 포인트 증감
|
||||
$cur_point += $point;
|
||||
|
|
@ -109,7 +109,7 @@
|
|||
|
||||
// 포인트를 구해옴
|
||||
$point = $config->module_point[$module_srl]['insert_comment'];
|
||||
if(!$point) $point = $config->insert_comment;
|
||||
if($point == null) $point = $config->insert_comment;
|
||||
|
||||
// 포인트 증감
|
||||
$cur_point = $oPointModel->getPoint($target_member_srl, true);
|
||||
|
|
@ -130,7 +130,7 @@
|
|||
|
||||
// 포인트를 구해옴
|
||||
$point = $config->module_point[$module_srl]['upload_file'];
|
||||
if(!$point) $point = $config->upload_file;
|
||||
if($point == null) $point = $config->upload_file;
|
||||
|
||||
// 포인트 증감
|
||||
$cur_point += $point;
|
||||
|
|
@ -152,7 +152,7 @@
|
|||
|
||||
// 포인트를 구해옴
|
||||
$point = $config->module_point[$module_srl]['upload_file'];
|
||||
if(!$point) $point = $config->upload_file;
|
||||
if($point == null) $point = $config->upload_file;
|
||||
|
||||
// 포인트 차감
|
||||
$cur_point = $oPointModel->getPoint($target_member_srl, true);
|
||||
|
|
@ -178,7 +178,7 @@
|
|||
|
||||
// 포인트를 구해옴
|
||||
$point = $config->module_point[$module_srl]['download_file'];
|
||||
if(!$point) $point = $config->download_file;
|
||||
if($point == null) $point = $config->download_file;
|
||||
|
||||
// 포인트가 0보다 작고 포인트가 없으면 파일 다운로드가 안되도록 했다면 오류
|
||||
if($cur_point + $point < 0 && $config->disable_download == 'Y') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue