diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-10-18 11:38:02 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-10-18 11:38:02 -0300 |
commit | 06896c6a9d1f1cbaf90c10643a6b9ac2a6426e41 (patch) | |
tree | 05319a7dc7cbce0ab8726f9495e8f41cdd3daaca /usr/local/www/firewall_aliases_edit.php | |
parent | 4e8a79a83043c0880651d749ac67528615a03d90 (diff) | |
download | pfsense-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-x | usr/local/www/firewall_aliases_edit.php | 3 |
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> |