mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fix issue with empty autorefresh list
This commit is contained in:
parent
2ef560d1a9
commit
001892ed5a
@ -501,7 +501,8 @@ if (!isset($autorefresh_list)) {
|
||||
$autorefresh_list = $aux;
|
||||
}
|
||||
} else {
|
||||
if (($autorefresh_list[0] === '') || ($autorefresh_list[0] === '0')) {
|
||||
if (is_array($autorefresh_list) === false || empty($autorefresh_list[0]) === true || $autorefresh_list[0] === '0') {
|
||||
$autorefresh_list = [];
|
||||
$autorefresh_list[0] = __('None');
|
||||
} else {
|
||||
$aux = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user