diff options
-rwxr-xr-x | usr/local/www/services_dnsmasq_domainoverride_edit.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/usr/local/www/services_dnsmasq_domainoverride_edit.php b/usr/local/www/services_dnsmasq_domainoverride_edit.php index a23f286..0491050 100755 --- a/usr/local/www/services_dnsmasq_domainoverride_edit.php +++ b/usr/local/www/services_dnsmasq_domainoverride_edit.php @@ -71,17 +71,6 @@ if ($_POST) { $input_errors[] = "A valid IP address must be specified."; } - /* check for overlaps */ - foreach ($a_domainOverrides as $doment) { - if (isset($id) && ($a_domainOverrides[$id]) && ($a_domainOverrides[$id] === $doment)) - continue; - - if (($doment['host'] == $_POST['host']) && ($doment['domain'] == $_POST['domain'])) { - $input_errors[] = "An override already exists for this domain."; - break; - } - } - if (!$input_errors) { $doment = array(); $doment['domain'] = $_POST['domain']; |