From 4cd06539a27b40077422138ac09c9aea1fad1b0b Mon Sep 17 00:00:00 2001 From: Daniel Barbero Martin Date: Tue, 26 Mar 2019 18:37:49 +0100 Subject: [PATCH] fixed minor error refresh header Former-commit-id: 5fd75dd4fe634760c37fb06a16cc127c9cbfc71d --- pandora_console/general/header.php | 8 +++++--- pandora_console/index.php | 9 +++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/pandora_console/general/header.php b/pandora_console/general/header.php index aaf9bb2cda..530adacea4 100644 --- a/pandora_console/general/header.php +++ b/pandora_console/general/header.php @@ -19,10 +19,11 @@ require_once 'include/functions_notifications.php'; config_check(); -if ($_SESSION['menu_type']=='classic') +if ($_SESSION['menu_type'] == 'classic') { echo '
'; -else +} else { echo '
'; +} ?>
'; diff --git a/pandora_console/index.php b/pandora_console/index.php index 9fb4149da0..0e1a11149a 100755 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -173,8 +173,8 @@ if (!empty($config['https']) && empty($_SERVER['HTTPS'])) { // Pure mode (without menu, header and footer). $config['pure'] = (bool) get_parameter('pure'); -// Auto Refresh page (can now be disabled anywhere in the script) -if (get_parameter('refr')) { +// Auto Refresh page (can now be disabled anywhere in the script). +if (get_parameter('refr') != null) { $config['refr'] = (int) get_parameter('refr'); } @@ -1026,10 +1026,11 @@ if ($config['pure'] == 0) { echo '
';