diff --git a/modules/comment/comment.controller.php b/modules/comment/comment.controller.php index 5b7333ad7..d86129e2d 100644 --- a/modules/comment/comment.controller.php +++ b/modules/comment/comment.controller.php @@ -582,9 +582,9 @@ $args->ipaddress = $_SERVER['REMOTE_ADDR']; } $args->comment_srl = $comment_srl; - $output = executeQuery('comment.getCommentDeclaredLogInfo', $args); + $log_output = executeQuery('comment.getCommentDeclaredLogInfo', $args); // session registered if log info contains report log. - if($output->data->count) { + if($log_output->data->count) { $_SESSION['declared_comment'][$comment_srl] = true; return new Object(-1, 'failed_declared'); }