mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed warning in header.php.
(cherry picked from commit 096f79056f743341313f1d54526e476c9a25926b)
This commit is contained in:
parent
520cf054c7
commit
30c5684c53
@ -188,7 +188,7 @@ config_check();
|
|||||||
$_GET['refr'] = null;
|
$_GET['refr'] = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (array_search($_GET['sec2'], $config['autorefresh_white_list']) !== false) {
|
if ($config['autorefresh_white_list'] !== null && array_search($_GET['sec2'], $config['autorefresh_white_list']) !== false) {
|
||||||
$autorefresh_img = html_print_image("images/header_refresh.png", true, array("class" => 'bot', "alt" => 'lightning', 'title' => __('Configure autorefresh')));
|
$autorefresh_img = html_print_image("images/header_refresh.png", true, array("class" => 'bot', "alt" => 'lightning', 'title' => __('Configure autorefresh')));
|
||||||
|
|
||||||
if ($_GET['refr']) {
|
if ($_GET['refr']) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user