diff --git a/modules/comment/comment.model.php b/modules/comment/comment.model.php index fa0d7a9e7..1cb80d1ca 100644 --- a/modules/comment/comment.model.php +++ b/modules/comment/comment.model.php @@ -1005,7 +1005,7 @@ class CommentModel extends Comment } foreach ($output->data as $val) { - if (isset($document_srl_list[$val->document_srl])) + if (isset($document_srl_list[$val->document_srl]) && is_object($document_srl_list[$val->document_srl])) { $val->module_srl = $document_srl_list[$val->document_srl]->get('module_srl'); $val->document_member_srl = $document_srl_list[$val->document_srl]->get('member_srl');