Commit e39ea822 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 382974: $duplicate can be set even when not marking a bug as a dupe…

Bug 382974: $duplicate can be set even when not marking a bug as a dupe (security check bypass) - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=justdave a=LpSolit
parent a49117c5
......@@ -951,7 +951,7 @@ $vars->{resolution} = $cgi->param('resolution') || '';
Bugzilla::Bug->check_status_change_triggers($knob, \@idlist, $vars);
# Some triggers require extra actions.
$duplicate = $vars->{dup_id};
$duplicate = $vars->{dup_id} if ($knob eq 'duplicate');
$requiremilestone = $vars->{requiremilestone};
DuplicateUserConfirm($vars->{bug_id}, $duplicate) if $vars->{DuplicateUserConfirm};
_remove_remaining_time() if $vars->{remove_remaining_time};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment