diff options
Diffstat (limited to 'usr/local/www/services_dnsmasq_edit.php')
-rwxr-xr-x | usr/local/www/services_dnsmasq_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/services_dnsmasq_edit.php b/usr/local/www/services_dnsmasq_edit.php index e38f977..c56f759 100755 --- a/usr/local/www/services_dnsmasq_edit.php +++ b/usr/local/www/services_dnsmasq_edit.php @@ -80,7 +80,7 @@ if ($_POST) { $reqdfields = explode(" ", "domain ip"); $reqdfieldsn = array(gettext("Domain"),gettext("IP address")); - do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); + do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors); if (($_POST['host'] && !is_hostname($_POST['host']))) $input_errors[] = gettext("The hostname can only contain the characters A-Z, 0-9 and '-'."); @@ -119,7 +119,7 @@ if ($_POST) { $aliasreqdfieldsn = array(gettext("Alias Domain")); var_dump(array('fields' => $aliasreqdfields, 'names' => $aliasreqdfieldsn, 'alias' => $alias)); - do_input_validation($_POST, $aliasreqdfields, $aliasreqdfieldsn, &$input_errors); + do_input_validation($_POST, $aliasreqdfields, $aliasreqdfieldsn, $input_errors); if (($alias['host'] && !is_hostname($alias['host']))) { $input_errors[] = gettext("Hostnames in alias list can only contain the characters A-Z, 0-9 and '-'."); } |