[ticket/12804] Dont use ternary form

PHPBB3-12804
This commit is contained in:
PayBas 2014-07-07 11:25:33 +02:00
parent fbc07d3b14
commit 0a286e044b
2 changed files with 2 additions and 2 deletions

View file

@ -394,7 +394,7 @@ class ucp_profile
$template->assign_vars(array(
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
'S_JABBER_ENABLED' => ($config['jab_enable']) ? true : false,
'S_JABBER_ENABLED' => $config['jab_enable'],
'JABBER' => $data['jabber'],
));

View file

@ -1286,7 +1286,7 @@ switch ($mode)
'S_IP_SEARCH_ALLOWED' => ($auth->acl_getf_global('m_info')) ? true : false,
'S_EMAIL_SEARCH_ALLOWED'=> ($auth->acl_get('a_user')) ? true : false,
'S_JABBER_ENABLED' => ($config['jab_enable']) ? true : false,
'S_JABBER_ENABLED' => $config['jab_enable'],
'S_IN_SEARCH_POPUP' => ($form && $field) ? true : false,
'S_SEARCH_USER' => ($mode == 'searchuser' || ($mode == '' && $submit)),
'S_FORM_NAME' => $form,