summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-02-04 16:23:22 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-02-04 16:23:22 -0200
commit68f7662be7afa78590cde6af4996e437391dae32 (patch)
treea84bffb23dc567f3206a4b7c111a87cc65deac09 /usr/local/www
parent13685ab5a37341c937102084e258131cd127ba52 (diff)
parentf2b769d01df5461fb392f3fe27e3076de0dfb01c (diff)
downloadpfsense-68f7662be7afa78590cde6af4996e437391dae32.zip
pfsense-68f7662be7afa78590cde6af4996e437391dae32.tar.gz
Merge pull request #1466 from tuyan/master
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/services_dyndns_edit.php2
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);
OpenPOWER on IntegriCloud