Commit f39dd40f authored by Evan Prodromou's avatar Evan Prodromou

fix notices in lib/grouplist.php

parent 12636d9f
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment