diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-02-20 17:29:40 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-20 17:29:40 -0500 |
commit | f39dd40ffa9ae9e52fb0e83c2dfaae5f65ca5f80 (patch) | |
tree | 39f30413393a17de157f74c3c49467a28a09517b /lib | |
parent | 12636d9fb1c8d6bdcf27e068f3be2ad9c9636ee1 (diff) |
fix notices in lib/grouplist.php
Diffstat (limited to 'lib')
-rw-r--r-- | lib/grouplist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/grouplist.php b/lib/grouplist.php index 6801ab426..1b8547499 100644 --- a/lib/grouplist.php +++ b/lib/grouplist.php @@ -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(); } |