diff --git a/src/www/services_unbound_acls.php b/src/www/services_unbound_acls.php index 6fca8b86f..e61ea4f98 100644 --- a/src/www/services_unbound_acls.php +++ b/src/www/services_unbound_acls.php @@ -56,7 +56,7 @@ function unbound_get_next_id() { $referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/services_unbound_acls.php'); -if (!is_array($config['unbound']['acls'])) +if (empty($config['unbound']['acls']) || !is_array($config['unbound']['acls'])) $config['unbound']['acls'] = array(); $a_acls = &$config['unbound']['acls'];