mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix #2281 warning/notice if sender/recipient of message is not a member anymore
This commit is contained in:
parent
4e192668a1
commit
86548a8d6a
6 changed files with 10 additions and 8 deletions
|
|
@ -1825,7 +1825,7 @@ class ModuleModel extends Module
|
|||
*/
|
||||
public static function isSiteAdmin($member_info)
|
||||
{
|
||||
if ($member_info && $member_info->is_admin == 'Y')
|
||||
if ($member_info && isset($member_info->is_admin) && $member_info->is_admin == 'Y')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue