diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-02-22 17:03:41 -0800 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-02-22 17:03:41 -0800 |
commit | 8e0508dad3bb888b0c01834614b1aa7e16cfe583 (patch) | |
tree | 04f2734597377942fbbfc5b4f133e951ccc645a5 /lib/grouplist.php | |
parent | cdab8d55a96b61ce6cfbec697d95e3223751fd3f (diff) | |
parent | da532bae9131b6dec8f5c0d67ce77c4ad1736f7d (diff) |
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Diffstat (limited to 'lib/grouplist.php')
-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(); } |