Normalize uses of Strings::formatNetworkName to $network_link

- Unescape HTML template variable $network_link
This commit is contained in:
Hypolite Petovan 2018-12-26 11:03:41 -05:00
parent 5b74f066f2
commit 620395378e
10 changed files with 25 additions and 26 deletions

View file

@ -297,9 +297,9 @@ class Profile
$profile['picdate'] = urlencode(defaults($profile, 'picdate', ''));
if (($profile['network'] != '') && ($profile['network'] != Protocol::DFRN)) {
$profile['network_name'] = Strings::formatNetworkName($profile['network'], $profile['url']);
$profile['network_link'] = Strings::formatNetworkName($profile['network'], $profile['url']);
} else {
$profile['network_name'] = '';
$profile['network_link'] = '';
}
Addon::callHooks('profile_sidebar_enter', $profile);