Remove duplicate profile_uid key in App->profile array
This commit is contained in:
@@ -40,7 +40,7 @@ class Contacts extends BaseModule
|
||||
|
||||
Profile::load($a, $nickname);
|
||||
|
||||
$is_owner = $a->profile['profile_uid'] == local_user();
|
||||
$is_owner = $a->profile['uid'] == local_user();
|
||||
|
||||
// tabs
|
||||
$o = Profile::getTabs($a, 'contacts', $is_owner, $nickname);
|
||||
|
||||
Reference in New Issue
Block a user