mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fixed warning in header.php.
This commit is contained in:
parent
77a4428aa4
commit
096f79056f
@ -188,7 +188,7 @@ config_check();
|
||||
$_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')));
|
||||
|
||||
if ($_GET['refr']) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user