Fixed the user home page as dashboard for Pandora 5.1 . TICKET: #1561

This commit is contained in:
mdtrooper 2015-02-06 14:24:14 +01:00
parent 06f0e895d8
commit ea8854b8d7
1 changed files with 5 additions and 1 deletions

View File

@ -257,7 +257,11 @@ if (! isset ($config['id_user']) && isset ($_GET["login"])) {
break;
case 'Dashboard':
$_GET["sec"] = "dashboard";
$_GET["sec2"] = ENTERPRISE_DIR.'/dashboard/main_dashboard';
$_GET["sec2"] = ENTERPRISE_DIR .
'/dashboard/main_dashboard';
$id_dashboard_select =
db_get_value('id', 'tdashboard', 'name', $home_url);
$_GET['id_dashboard_select'] = $id_dashboard_select;
break;
case 'Visual console':
$_GET["sec"] = "visualc";