Another undefined object member.

This commit is contained in:
Adrian Lang 2009-03-07 02:03:45 +01:00
parent 00c14d22de
commit c0db74dcfb
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class ProfileList extends Widget
'id' => 'profile-' . $this->profile->id));
$user = common_current_user();
$is_own = !is_null($user) && ($user->id === $this->user->id);
$is_own = !is_null($user) && isset($this->user) && ($user->id === $this->user->id);
$this->out->elementStart('div', 'entity_profile vcard');