Fix PHP 7.2 warning in Model\Profile
This commit is contained in:
parent
a9f1f47be2
commit
f7f640175a
|
@ -950,7 +950,7 @@ class Profile
|
|||
];
|
||||
}
|
||||
|
||||
if ((!$is_owner) && ((count($a->profile)) || (!$a->profile['hide-friends']))) {
|
||||
if (!$is_owner && empty($a->profile['hide-friends'])) {
|
||||
$tabs[] = [
|
||||
'label' => L10n::t('Contacts'),
|
||||
'url' => System::baseUrl() . '/viewcontacts/' . $nickname,
|
||||
|
|
Loading…
Reference in New Issue
Block a user