BUG-11984 No se muestra el menu horizontal en el case tracker... SOLVED

- No was initiated one variable properly.
- Was add validation.
This commit is contained in:
Marco Antonio Nina
2013-05-24 13:09:24 -04:00
parent b2076491c5
commit 7a7c477970

View File

@@ -712,16 +712,8 @@ class SkinEngine
if (NO_DISPLAY_USERNAME == 0) {
$switch_interface = isset($_SESSION['user_experience']) && $_SESSION['user_experience'] == 'SWITCHABLE';
$tacker = '';
foreach ($menus as $kye => $tab) {
if (strpos($tab['target'], 'tracker') !== false ) {
$tacker = true;
break;
}
}
$smarty->assign('user_logged', (isset($_SESSION['USER_LOGGED'])? $_SESSION['USER_LOGGED'] : ''));
$smarty->assign('tracker', $tacker);
$smarty->assign('tracker', (SYS_COLLECTION == 'tracker') ? ( ($G_PUBLISH->Parts[0]['File'] != 'tracker/login' ) ? true : '') : '');
$smarty->assign('switch_interface', $switch_interface);
$smarty->assign('switch_interface_label', G::LoadTranslation('ID_SWITCH_INTERFACE'));
$smarty->assign('rolename', isset($_SESSION['USR_ROLENAME']) ? $_SESSION['USR_ROLENAME'] . '' : '');