forked from GNUsocial/gnu-social
fix bug with undefined variable
This commit is contained in:
parent
bbba1f6e16
commit
07d9cca004
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user