summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_edit.php
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-08-12 04:18:13 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-08-12 04:23:52 -0600
commit8bb30d23a4255fb611ac0c05e11a4d221b7c45a4 (patch)
treeff506ff2a540636309f7dc0367aed88fa0b106b6 /usr/local/www/firewall_nat_edit.php
parent48a27d4f33c60a8baf9af0053721d7ec9986361d (diff)
downloadpfsense-8bb30d23a4255fb611ac0c05e11a4d221b7c45a4.zip
pfsense-8bb30d23a4255fb611ac0c05e11a4d221b7c45a4.tar.gz
Fix the ID for the link to the associated filter rule when a filter rule has not been saved since the associated rule was created.
Diffstat (limited to 'usr/local/www/firewall_nat_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_edit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php
index 605876f..07d8bac 100755
--- a/usr/local/www/firewall_nat_edit.php
+++ b/usr/local/www/firewall_nat_edit.php
@@ -775,6 +775,7 @@ include("fbegin.inc"); ?>
<?php
$linkedrule = "";
if (is_array($config['filter']['rule'])) {
+ filter_rules_sort();
foreach ($config['filter']['rule'] as $filter_id => $filter_rule) {
if (isset($filter_rule['associated-rule-id'])) {
echo "<option value=\"{$filter_rule['associated-rule-id']}\"";
OpenPOWER on IntegriCloud