summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-07-08 17:15:21 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-07-08 17:15:21 -0600
commit35c9cd4463738ebfc07aa6099ebb8bd54e10434b (patch)
tree5c4a70e0b6943812687ab7980372640ccf9612a0 /usr/local/www/firewall_rules_edit.php
parentdab2e7699e8735fc8055b793847a27977950e7ca (diff)
downloadpfsense-35c9cd4463738ebfc07aa6099ebb8bd54e10434b.zip
pfsense-35c9cd4463738ebfc07aa6099ebb8bd54e10434b.tar.gz
Don't use the association when duplicating firewall rules. Fixes #634
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index 342b689..10c3796 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -168,7 +168,8 @@ if (isset($id) && $a_filter[$id]) {
//schedule support
$pconfig['sched'] = $a_filter[$id]['sched'];
- $pconfig['associated-rule-id'] = $a_filter[$id]['associated-rule-id'];
+ if (!isset($_GET['dup']))
+ $pconfig['associated-rule-id'] = $a_filter[$id]['associated-rule-id'];
} else {
/* defaults */
OpenPOWER on IntegriCloud