summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2010-03-09 14:39:56 -0500
committerjim-p <jim@pingle.org>2010-03-09 14:40:46 -0500
commit800ae4122c0efd20a6db87bac8d463a7fe145db8 (patch)
tree327c33cbb6bf136f2acff62baecf4f93ef8c12fa /usr
parent101ce09aee348471171d7d4c948ea1f01ddb98ad (diff)
downloadpfsense-800ae4122c0efd20a6db87bac8d463a7fe145db8.zip
pfsense-800ae4122c0efd20a6db87bac8d463a7fe145db8.tar.gz
Fix a slight bug. This would have caused an empty description in some cases.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_aliases_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php
index acf898c..635d7ff 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -221,7 +221,7 @@ if ($_POST) {
$wrongaliases = "";
for($x=0; $x<4999; $x++) {
if($_POST["address{$x}"] <> "") {
- $count = 0;
+ $count = 1;
if ($isfirst > 0)
$address .= " ";
if (is_iprange($_POST["address{$x}"])) {
OpenPOWER on IntegriCloud