From e340f7d8f41b902ad373dc5b12f9043a0337abea Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Mon, 18 Jun 2012 10:48:07 +0000 Subject: [PATCH] 2012-06-18 Juan Manuel Ramon * index.php: Fixed global autorefresh bug. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/index.php | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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";