diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-03-18 16:34:41 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-03-18 16:34:41 -0400 |
commit | f1041a3b4e1f728ddffd8df80a5d5d6f5520fea6 (patch) | |
tree | c8f6f96ef27355faa60a9387b773c934299344da /lib/profilelist.php | |
parent | 91b0fb8028b30438401bebafd13119fe360337a3 (diff) |
fix bug in profile list owner check
Diffstat (limited to 'lib/profilelist.php')
-rw-r--r-- | lib/profilelist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php index 766189ab4..bd9b51958 100644 --- a/lib/profilelist.php +++ b/lib/profilelist.php @@ -89,7 +89,7 @@ class ProfileList extends Widget 'id' => 'profile-' . $this->profile->id)); $user = common_current_user(); - $is_own = !is_null($user) && isset($this->user) && ($user->id === $this->user->id); + $is_own = !is_null($user) && isset($this->owner) && ($user->id === $this->owner->id); $this->out->elementStart('div', 'entity_profile vcard'); |