Normalize uses of Strings::formatNetworkName to $network_link
- Unescape HTML template variable $network_link
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user