From: Evan Prodromou Date: Wed, 18 Mar 2009 20:34:41 +0000 (-0400) Subject: fix bug in profile list owner check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0e93b638b5fe5a3f087c25a48dcb1bac032e400d;p=quix0rs-gnu-social.git fix bug in profile list owner check --- diff --git a/lib/profilelist.php b/lib/profilelist.php index 766189ab4c..bd9b51958c 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');