fix notices in lib/grouplist.php

This commit is contained in:
Evan Prodromou 2009-02-20 17:29:40 -05:00
parent 12636d9fb1
commit f39dd40ffa

View File

@ -151,7 +151,7 @@ class GroupList extends Widget
# If we're on a list with an owner (subscriptions or subscribers)... # 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(); $this->showOwnerControls();
} }