mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
로그인하지 않은 유저만 세션에서 리턴 하도록 고침
This commit is contained in:
parent
992ca78bb1
commit
ef1e18caf8
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ class documentController extends document
|
|||
*/
|
||||
function updateVotedCountCancel($document_srl, $oDocument, $point)
|
||||
{
|
||||
if(!$_SESSION['voted_document'][$document_srl])
|
||||
if(!$_SESSION['voted_document'][$document_srl] && !$this->user->member_srl)
|
||||
{
|
||||
return new BaseObject(-1, $point > 0 ? 'failed_voted_canceled' : 'failed_blamed_canceled');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue