1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-12 12:46:38 +02:00

[ticket/12804] Hide Jabber from UCP & member search when disabled

PHPBB3-12804
This commit is contained in:
PayBas
2014-07-07 08:59:38 +02:00
parent 0bec9897d7
commit c5b4d0afb7
4 changed files with 16 additions and 10 deletions

View File

@ -393,8 +393,9 @@ class ucp_profile
}
$template->assign_vars(array(
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
'JABBER' => $data['jabber'],
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
'S_JABBER_ENABLED' => ($config['jab_enable']) ? true : false,
'JABBER' => $data['jabber'],
));
// Get additional profile fields and assign them to the template block var 'profile_fields'