mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
(legacy) crashreport PHP Warning: Illegal string offset 'acls' in /usr/local/www/services_unbound_acls.php on line 59
This commit is contained in:
parent
6713d12157
commit
e76fec2903
@ -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'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user