This commit is contained in:
Kijin Sung 2021-10-19 20:35:02 +09:00
parent 0b83bbae2f
commit c87e6d759c

View file

@ -1530,7 +1530,7 @@ class commentController extends comment
function declaredComment($comment_srl, $declare_message)
{
// Fail if session information already has a reported document
if($_SESSION['declared_comment'][$comment_srl])
if(isset($_SESSION['declared_comment'][$comment_srl]))
{
return new BaseObject(-1, 'failed_declared');
}