mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Don't use the association when duplicating firewall rules. Fixes #634
This commit is contained in:
parent
dab2e7699e
commit
35c9cd4463
@ -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 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user