Merge branch 'ent-11222-no-funciona-ningun-home-screen-para-los-usuarios' into 'develop'

Ent 11222 no funciona ningun home screen para los usuarios

See merge request artica/pandorafms!5905
This commit is contained in:
Rafael Ameijeiras 2023-05-18 12:12:20 +00:00
commit 4b0f65312d
1 changed files with 2 additions and 2 deletions

View File

@ -1361,7 +1361,7 @@ if ($searchPage) {
$_GET['sec2'] = 'operation/agentes/group_view';
break;
case 'Alert detail':
case 'Alert details':
$_GET['sec'] = 'view';
$_GET['sec2'] = 'operation/agentes/alerts_status';
break;
@ -1388,7 +1388,7 @@ if ($searchPage) {
case 'Visual console':
$id_visualc = db_get_value('id', 'tlayout', 'name', $home_url);
if (($home_url == '') || ($id_visualc == false)) {
$str = 'sec=network&sec2=operation/visual_console/index&refr=60';
$str = 'sec=godmode/reporting/map_builder&sec2=godmode/reporting/map_builder';
} else {
$str = 'sec=network&sec2=operation/visual_console/render_view&id='.$id_visualc;
}