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:18 -0300
commit6666ef48758e3e6dd11cfaa9ec55ec1287698fd4 (patch)
tree36d6a56a7e9d62dc845599d7f5d737167e4da220 /usr/local/www/firewall_aliases_edit.php
parent2db5f9c23c7158b61f839d1679bde3ad3f135bdf (diff)
downloadpfsense-6666ef48758e3e6dd11cfaa9ec55ec1287698fd4.zip
pfsense-6666ef48758e3e6dd11cfaa9ec55ec1287698fd4.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 772df89..e034305 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -695,7 +695,6 @@ if (empty($tab)) {
$address = $addresses[$counter];
$address_subnet = "";
}
- $detail = $details[$counter];
?>
<tr>
<td>
@@ -710,7 +709,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