From b611940adf26232288a6aca82f2eb9c951fc841f Mon Sep 17 00:00:00 2001 From: BOBODDO <73145447+BOBODDO@users.noreply.github.com> Date: Fri, 8 Oct 2021 23:42:37 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8B=A0=EA=B3=A0=20=EB=B6=88=EA=B0=80=20?= =?UTF-8?q?=EC=8B=9C=20=EC=84=B8=EC=85=98=EA=B0=92=EC=9D=84=20FALSE=20>=20?= =?UTF-8?q?TRUE=EB=A1=9C=20=EC=88=98=EC=A0=95=20=ED=95=84=EC=9A=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/comment/comment.controller.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/comment/comment.controller.php b/modules/comment/comment.controller.php index 0d0b105e1..040b23d06 100644 --- a/modules/comment/comment.controller.php +++ b/modules/comment/comment.controller.php @@ -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'); }