fix bug when accessing certain views as home screen

This commit is contained in:
alejandro-campos 2019-11-13 11:24:25 +01:00
parent 76d9ca9db5
commit 8c046ecdc6

View File

@ -520,17 +520,17 @@ if (! isset($config['id_user'])) {
break; break;
case 'Group view': case 'Group view':
$_GET['sec'] = 'estado'; $_GET['sec'] = 'view';
$_GET['sec2'] = 'operation/agentes/group_view'; $_GET['sec2'] = 'operation/agentes/group_view';
break; break;
case 'Alert detail': case 'Alert detail':
$_GET['sec'] = 'estado'; $_GET['sec'] = 'view';
$_GET['sec2'] = 'operation/agentes/alerts_status'; $_GET['sec2'] = 'operation/agentes/alerts_status';
break; break;
case 'Tactical view': case 'Tactical view':
$_GET['sec'] = 'estado'; $_GET['sec'] = 'view';
$_GET['sec2'] = 'operation/agentes/tactical'; $_GET['sec2'] = 'operation/agentes/tactical';
break; break;