Fixed warning in header.php.

(cherry picked from commit 096f79056f)
This commit is contained in:
Junichi Satoh 2016-10-02 09:56:50 +09:00
parent 520cf054c7
commit 30c5684c53
1 changed files with 1 additions and 1 deletions

View File

@ -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']) {