summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-12-09 13:03:11 -0500
committerjim-p <jimp@pfsense.org>2016-12-09 13:03:40 -0500
commit650ba8d71cfd579063c9fbd48bbd105bff050f64 (patch)
tree8a5c3092e894db0434d35c8caac80feafb54d0f4
parent01d9837725f0fd8d07553f64d1406b7ac4a80f96 (diff)
downloadpfsense-650ba8d71cfd579063c9fbd48bbd105bff050f64.zip
pfsense-650ba8d71cfd579063c9fbd48bbd105bff050f64.tar.gz
Fix copy/paste error in variable test.
-rw-r--r--src/usr/local/www/firewall_rules_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index d3fc654..10a0fa1 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -500,7 +500,7 @@ if ($_POST) {
}
}
if ($_POST['srcbeginport_cust'] && $_POST['srcendport_cust']) {
- if (is_alias($_POST['srcendport_cust']) && is_alias($_POST['srcendport_cust']) && $_POST['srcbeginport_cust'] != $_POST['srcendport_cust']) {
+ if (is_alias($_POST['srcbeginport_cust']) && is_alias($_POST['srcendport_cust']) && $_POST['srcbeginport_cust'] != $_POST['srcendport_cust']) {
$input_errors[] = 'The same port alias must be used in Source port range from: and to: fields';
}
if ((is_alias($_POST['srcbeginport_cust']) && (!is_alias($_POST['srcendport_cust']) && $_POST['srcendport_cust'] != '')) ||
@@ -514,7 +514,7 @@ if ($_POST) {
}
}
if ($_POST['dstbeginport_cust'] && $_POST['dstendport_cust']) {
- if (is_alias($_POST['dstendport_cust']) && is_alias($_POST['dstendport_cust']) && $_POST['dstbeginport_cust'] != $_POST['dstendport_cust']) {
+ if (is_alias($_POST['dstbeginport_cust']) && is_alias($_POST['dstendport_cust']) && $_POST['dstbeginport_cust'] != $_POST['dstendport_cust']) {
$input_errors[] = 'The same port alias must be used in Destination port range from: and to: fields';
}
if ((is_alias($_POST['dstbeginport_cust']) && (!is_alias($_POST['dstendport_cust']) && $_POST['dstendport_cust'] != '')) ||
OpenPOWER on IntegriCloud