fix bug with undefined variable

This commit is contained in:
Evan Prodromou 2011-03-14 16:55:55 -04:00
parent bbba1f6e16
commit 07d9cca004

View File

@ -81,7 +81,7 @@ class AccountProfileBlock extends ProfileBlock
function canEdit()
{
$user = common_current_user();
return ((!empty($user)) && ($user->id == $profile->id));
return ((!empty($user)) && ($user->id == $this->profile->id));
}
function editUrl()