diff options
author | Tuyan Ozipek <tuyanozipek@gmail.com> | 2015-02-01 20:04:37 -0500 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-02-04 16:23:33 -0200 |
commit | cdcf197b5883d99630150d4827ae9b2e7f93bc66 (patch) | |
tree | 19fe5ef76b445f6555f75d464dbfdd597555bd89 /usr/local/www/services_dyndns_edit.php | |
parent | a912dd7d0bf4bbac67d61d95c117663008c3dba0 (diff) | |
download | pfsense-cdcf197b5883d99630150d4827ae9b2e7f93bc66.zip pfsense-cdcf197b5883d99630150d4827ae9b2e7f93bc66.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); |