summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_aliases_import.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/firewall_aliases_import.php')
-rw-r--r--src/usr/local/www/firewall_aliases_import.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_aliases_import.php b/src/usr/local/www/firewall_aliases_import.php
index 0921a21..d934d7d 100644
--- a/src/usr/local/www/firewall_aliases_import.php
+++ b/src/usr/local/www/firewall_aliases_import.php
@@ -60,9 +60,9 @@ if (!is_array($config['aliases']['alias'])) {
}
$a_aliases = &$config['aliases']['alias'];
-if ($_POST['aliasimport'] != "") {
+if ($_POST) {
$reqdfields = explode(" ", "name aliasimport");
- $reqdfieldsn = array(gettext("Name"), gettext("Aliases"));
+ $reqdfieldsn = array(gettext("Name"), gettext("Aliases to import"));
do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
OpenPOWER on IntegriCloud