diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-12 04:18:13 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-12 04:23:52 -0600 |
commit | 8bb30d23a4255fb611ac0c05e11a4d221b7c45a4 (patch) | |
tree | ff506ff2a540636309f7dc0367aed88fa0b106b6 /usr | |
parent | 48a27d4f33c60a8baf9af0053721d7ec9986361d (diff) | |
download | pfsense-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')
-rwxr-xr-x | usr/local/www/firewall_nat_edit.php | 1 |
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']}\""; |