diff options
author | Tuyan Ozipek <tuyanozipek@gmail.com> | 2015-02-01 20:04:37 -0500 |
---|---|---|
committer | Tuyan Ozipek <tozipek@datavalet.com> | 2015-02-02 10:46:30 -0500 |
commit | f2b769d01df5461fb392f3fe27e3076de0dfb01c (patch) | |
tree | d1402bee73aa36e8981983c4f22ca23599174e2f /usr/local/www/services_dyndns_edit.php | |
parent | 1c4540dcac5527cca71f7e8ffd85914c3ccea23f (diff) | |
download | pfsense-f2b769d01df5461fb392f3fe27e3076de0dfb01c.zip pfsense-f2b769d01df5461fb392f3fe27e3076de0dfb01c.tar.gz |
Fixed not being able to save custom and custom-v6 dyndns
entries due to "host" being posted empty, and thus failing
is_domain() check.
Diffstat (limited to 'usr/local/www/services_dyndns_edit.php')
-rw-r--r-- | usr/local/www/services_dyndns_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |