Actions
Bug #4693
closedphp warning when applying changes after change Resolver service|Access List
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
DNS Resolver
Target version:
-
Start date:
05/09/2015
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
Description
php warning when applying changes after change Resolver service|Access List
The php warning is:
"Warning: in_array() expects parameter 2 to be array, null given in /etc/inc/unbound.inc on line 239"
/etc/inc/unbound.inc line 239 shows as
if ($sys_dnsserver && (!in_array($sys_dnsserver, $ns))) {
Solution:
Change this line to
if ($sys_dnsserver && (!in_array($ns, $sys_dnsservers))) {
Updated by Alvaro Sedano almost 10 years ago
Note the difference betwwen $sysdnsserver and $sys_dnsserver*s*
Updated by Kill Bill almost 10 years ago
This was already reported at least 3 times and fixed almost 1 month ago...
Updated by Chris Buechler almost 10 years ago
- Status changed from New to Duplicate
- Affected Version deleted (
2.2.2)
Actions