mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix undefined values and other warnings
This commit is contained in:
parent
702eebaa92
commit
eba7b75c3a
7 changed files with 73 additions and 37 deletions
|
|
@ -581,7 +581,7 @@ class BoardController extends Board
|
|||
$update_document = $this->module_info->update_order_on_comment === 'N' ? false : true;
|
||||
|
||||
// Check parent comment.
|
||||
if($obj->parent_srl)
|
||||
if (!empty($obj->parent_srl))
|
||||
{
|
||||
$parent_comment = CommentModel::getComment($obj->parent_srl);
|
||||
if(!$parent_comment->comment_srl || $parent_comment->get('document_srl') != $oDocument->get('document_srl'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue