$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);
$p['about'] = BBCode::convert($p['about']);
}
- if (isset($p['address'])) {
- $p['address'] = BBCode::convert($p['address']);
- } elseif (isset($p['location'])) {
- $p['address'] = BBCode::convert($p['location']);
+ if (empty($p['address']) && !empty($p['location'])) {
+ $p['address'] = $p['location'];
}
if (isset($p['photo'])) {