git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 07d9cca0 authored by Evan Prodromou's avatar Evan Prodromou

fix bug with undefined variable

parent bbba1f6e
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment