mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix #2431 undefined properties
This commit is contained in:
parent
b3b3fa73a4
commit
41d33837f2
6 changed files with 16 additions and 12 deletions
|
|
@ -903,7 +903,7 @@ class BoardView extends Board
|
|||
}
|
||||
}
|
||||
|
||||
if ($this->module_info->protect_admin_content_update !== 'N')
|
||||
if (($this->module_info->protect_admin_content_update ?? 'N') !== 'N')
|
||||
{
|
||||
$member_info = MemberModel::getMemberInfo($oDocument->get('member_srl'));
|
||||
if(isset($member_info->is_admin) && $member_info->is_admin == 'Y' && $this->user->is_admin != 'Y')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue