From: Evan Prodromou Date: Fri, 20 Feb 2009 22:29:40 +0000 (-0500) Subject: fix notices in lib/grouplist.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f39dd40ffa9ae9e52fb0e83c2dfaae5f65ca5f80;p=quix0rs-gnu-social.git fix notices in lib/grouplist.php --- diff --git a/lib/grouplist.php b/lib/grouplist.php index 6801ab4261..1b85474998 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(); }