summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_aliases_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-10-18 11:38:02 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-10-18 11:38:02 -0300
commit06896c6a9d1f1cbaf90c10643a6b9ac2a6426e41 (patch)
tree05319a7dc7cbce0ab8726f9495e8f41cdd3daaca /usr/local/www/firewall_aliases_edit.php
parent4e8a79a83043c0880651d749ac67528615a03d90 (diff)
downloadpfsense-06896c6a9d1f1cbaf90c10643a6b9ac2a6426e41.zip
pfsense-06896c6a9d1f1cbaf90c10643a6b9ac2a6426e41.tar.gz
Actually there is no reason to set a variable just to use once
Diffstat (limited to 'usr/local/www/firewall_aliases_edit.php')
-rwxr-xr-xusr/local/www/firewall_aliases_edit.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php
index 8ec6ce2..f452d88 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -715,7 +715,6 @@ if (empty($tab)) {
$address = $addresses[$counter];
$address_subnet = "";
}
- $detail = $details[$counter];
?>
<tr>
<td>
@@ -730,7 +729,7 @@ if (empty($tab)) {
</select>
</td>
<td>
- <input name="detail<?php echo $counter; ?>" type="text" class="formfld unknown" id="detail<?php echo $counter; ?>" size="50" value="<?=$detail;?>" />
+ <input name="detail<?php echo $counter; ?>" type="text" class="formfld unknown" id="detail<?php echo $counter; ?>" size="50" value="<?=$details[$counter];?>" />
</td>
<td>
<a onclick="removeRow(this); return false;" href="#"><img border="0" src="/themes/<?echo $g['theme'];?>/images/icons/icon_x.gif" alt="" title="<?=gettext("remove this entry"); ?>" /></a>
OpenPOWER on IntegriCloud