diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 102a389736..1817a49a05 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-07-26 Juan Manuel Ramon + + * operation/agentes/stat_win.php: Fixed bug when popup is updated + from hash connection. + 2012-07-26 Juan Manuel Ramon * operation/agentes/stat_win.php: Added hash login to graph module diff --git a/pandora_console/operation/agentes/stat_win.php b/pandora_console/operation/agentes/stat_win.php index 5834e91cc9..22b721c57a 100644 --- a/pandora_console/operation/agentes/stat_win.php +++ b/pandora_console/operation/agentes/stat_win.php @@ -29,7 +29,7 @@ require_once ($config['homedir'] . '/include/functions_graph.php'); require_once ($config['homedir'] . '/include/functions_modules.php'); // Hash login process -if (! isset ($config['id_user']) && isset ($_GET["loginhash"])) { +if (! isset ($config['id_user']) && get_parameter("loginhash", 0)) { $loginhash_data = get_parameter("loginhash_data", ""); $loginhash_user = get_parameter("loginhash_user", ""); @@ -37,7 +37,10 @@ if (! isset ($config['id_user']) && isset ($_GET["loginhash"])) { db_logon ($loginhash_user, $_SERVER['REMOTE_ADDR']); $_SESSION['id_usuario'] = $loginhash_user; $config["id_user"] = $loginhash_user; + + $hash_connection_data = true; } + } check_login (); @@ -269,8 +272,19 @@ $label = base64_decode(get_parameter('label', '')); echo __('Please, make your changes and apply with the Reload button'); ?>
-
- +