From f2b769d01df5461fb392f3fe27e3076de0dfb01c Mon Sep 17 00:00:00 2001 From: Tuyan Ozipek Date: Sun, 1 Feb 2015 20:04:37 -0500 Subject: Fixed not being able to save custom and custom-v6 dyndns entries due to "host" being posted empty, and thus failing is_domain() check. --- usr/local/www/services_dyndns_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/services_dyndns_edit.php') diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php index c88e22d..80ad352 100644 --- a/usr/local/www/services_dyndns_edit.php +++ b/usr/local/www/services_dyndns_edit.php @@ -111,7 +111,7 @@ if ($_POST) { do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors); - if (isset($_POST['host'])) { + if (isset($_POST['host']) && in_array("host", $reqdfields)) { /* Namecheap can have a @. in hostname */ if ($pconfig['type'] == "namecheap" && substr($_POST['host'], 0, 2) == '@.') $host_to_check = substr($_POST['host'], 2); -- cgit v1.1