mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 02:01:40 +09:00
다운로드가 되지 않음에도 포인트가 감소 되는 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2653 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
faf31a9b21
commit
065e25458b
1 changed files with 5 additions and 5 deletions
|
|
@ -183,13 +183,13 @@
|
|||
// 포인트가 0보다 작고 포인트가 없으면 파일 다운로드가 안되도록 했다면 오류
|
||||
if($cur_point + $point < 0 && $config->disable_download == 'Y') {
|
||||
$this->stop('msg_cannot_download');
|
||||
} else {
|
||||
// 포인트 차감
|
||||
$cur_point += $point;
|
||||
$oPointController = &getController('point');
|
||||
$oPointController->setPoint($member_srl,$cur_point);
|
||||
}
|
||||
|
||||
// 포인트 차감
|
||||
$cur_point += $point;
|
||||
$oPointController = &getController('point');
|
||||
$oPointController->setPoint($member_srl,$cur_point);
|
||||
|
||||
// 글 삭제일 경우 대상 글의 사용자 번호 저장
|
||||
} elseif(strpos($config->delete_document_act,$this->act)!==false) {
|
||||
$document_srl = Context::get('document_srl');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue