mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Firewall Aliases Import display error message for invalid alias name
If you open firewall_aliases_import and enter just an invalid Alias Name (e.g. a$b) and press save or press save with all fields empty, then the screen redraws but the input error(s) is not displayed. This fixes it.
This commit is contained in:
parent
fd29caa1c8
commit
a36692592c
@ -66,7 +66,7 @@ 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"));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user