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:35:03 -0400 |
commit | 0e93b638b5fe5a3f087c25a48dcb1bac032e400d (patch) | |
tree | 4bdaf51c4e095194526e121e1a470924f60ec773 /lib/profilelist.php | |
parent | 3eff673a0fc490f57841a7a9b6ea79cbd42d46ed (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'); |