mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
신고 불가 시 세션값을 FALSE > TRUE로 수정 필요
This commit is contained in:
parent
10ab65e2f4
commit
b611940adf
1 changed files with 3 additions and 3 deletions
|
|
@ -1565,7 +1565,7 @@ class commentController extends comment
|
|||
// failed if both ip addresses between author's and the current user are same.
|
||||
if($oComment->get('ipaddress') == \RX_CLIENT_IP && !$this->user->isAdmin())
|
||||
{
|
||||
$_SESSION['declared_comment'][$comment_srl] = TRUE;
|
||||
$_SESSION['declared_comment'][$comment_srl] = FALSE;
|
||||
return new BaseObject(-1, 'failed_declared');
|
||||
}
|
||||
|
||||
|
|
@ -1578,7 +1578,7 @@ class commentController extends comment
|
|||
// session registered if the author information matches to the current logged-in user's.
|
||||
if($member_srl && $member_srl == abs($oComment->get('member_srl')))
|
||||
{
|
||||
$_SESSION['declared_comment'][$comment_srl] = TRUE;
|
||||
$_SESSION['declared_comment'][$comment_srl] = FALSE;
|
||||
return new BaseObject(-1, 'failed_declared');
|
||||
}
|
||||
}
|
||||
|
|
@ -1597,7 +1597,7 @@ class commentController extends comment
|
|||
$log_output = executeQuery('comment.getCommentDeclaredLogInfo', $args);
|
||||
if($log_output->data->count)
|
||||
{
|
||||
$_SESSION['declared_comment'][$comment_srl] = TRUE;
|
||||
$_SESSION['declared_comment'][$comment_srl] = FALSE;
|
||||
return new BaseObject(-1, 'failed_declared');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue