mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
Fix error when document was not found
This commit is contained in:
parent
bae8954e42
commit
d519cd2516
1 changed files with 1 additions and 1 deletions
|
|
@ -1005,7 +1005,7 @@ class CommentModel extends Comment
|
||||||
}
|
}
|
||||||
foreach ($output->data as $val)
|
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->module_srl = $document_srl_list[$val->document_srl]->get('module_srl');
|
||||||
$val->document_member_srl = $document_srl_list[$val->document_srl]->get('member_srl');
|
$val->document_member_srl = $document_srl_list[$val->document_srl]->get('member_srl');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue