diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 2b0701c6b9..5c11e7998a 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2012-06-18 Juan Manuel Ramon + + * index.php: Fixed global autorefresh bug. + 2012-06-18 Juan Manuel Ramon * include/functions_config.php diff --git a/pandora_console/index.php b/pandora_console/index.php index 4ec26cbed7..b32c8deae0 100644 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -100,7 +100,8 @@ if (!empty ($config["https"]) && empty ($_SERVER['HTTPS'])) { $config["pure"] = (bool) get_parameter ("pure"); // Auto Refresh page (can now be disabled anywhere in the script) -$config["refr"] = (int) get_parameter ("refr"); +if (get_parameter ("refr")) + $config["refr"] = (int) get_parameter ("refr"); ob_start (); echo ''."\n";