Skip to content

Commit 69e2449

Browse files
author
Till Brehm
committed
Merge branch '6584-dns-any-not-allowed-in-also_notify-bind-restart-fail' into 'develop'
Resolve "DNS - any not allowed in also_notify [bind restart fail]" Closes #6584 See merge request ispconfig/ispconfig3!1819
2 parents 0157f1a + c1f39c0 commit 69e2449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/validate_dns.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ function validate_ip($field_name, $field_value, $validator) {
292292
if($validator['allowempty'] != 'y') $validator['allowempty'] = 'n';
293293
if($validator['allowempty'] == 'y' && $field_value == '') {
294294
//* Do nothing
295-
} elseif ($field_value == 'any') {
295+
} elseif ($field_value == 'any' && $field_name != "also_notify") {
296296
//* Do nothing
297297
} else {
298298
//* Check if its a IPv4 or IPv6 address/range

0 commit comments

Comments
 (0)