summaryrefslogtreecommitdiff
path: root/lib/grouplist.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-20 17:29:40 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-20 17:29:40 -0500
commitf39dd40ffa9ae9e52fb0e83c2dfaae5f65ca5f80 (patch)
tree39f30413393a17de157f74c3c49467a28a09517b /lib/grouplist.php
parent12636d9fb1c8d6bdcf27e068f3be2ad9c9636ee1 (diff)
fix notices in lib/grouplist.php
Diffstat (limited to 'lib/grouplist.php')
-rw-r--r--lib/grouplist.php2
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();
}