Don't use the association when duplicating firewall rules. Fixes #634

This commit is contained in:
Erik Fonnesbeck 2010-07-08 17:15:21 -06:00
parent dab2e7699e
commit 35c9cd4463

View File

@ -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 */