mirror of
https://github.com/friendica/friendica
synced 2025-04-29 13:04:23 +02:00
Normalize uses of Strings::formatNetworkName to $network_link
- Unescape HTML template variable $network_link
This commit is contained in:
parent
5b74f066f2
commit
620395378e
10 changed files with 25 additions and 26 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue