diff options
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index ab5bed7..0ecab7d 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -119,7 +119,7 @@ function get_nameservers() { global $config, $g; $master_list = array(); $dns_lists = split("\n", `ls /var/etc/nameserver_* 2>/dev/null`); - if($dns_lists) { + if(is_array($dns_lists)) { foreach($dns_lists as $dns) { if(!$dns) continue; |