fix notices in lib/grouplist.php
This commit is contained in:
parent
12636d9fb1
commit
f39dd40ffa
@ -151,7 +151,7 @@ class GroupList extends Widget
|
||||
|
||||
# If we're on a list with an owner (subscriptions or subscribers)...
|
||||
|
||||
if ($user && $user->id == $this->owner->id) {
|
||||
if (!empty($user) && !empty($this->owner) && $user->id == $this->owner->id) {
|
||||
$this->showOwnerControls();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user