diff options
author | Byron Jones <bjones@mozilla.com> | 2013-01-22 05:09:11 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-01-22 05:09:11 +0100 |
commit | 3c50104166023a136d0e4cee22322904521eae87 (patch) | |
tree | 4328098076b72956fac14d24f8b0d3cace7419c4 | |
parent | 9222cad6c1ee5bf6871112d27e8a4b08c208723c (diff) | |
download | bugzilla-3c50104166023a136d0e4cee22322904521eae87.tar.gz bugzilla-3c50104166023a136d0e4cee22322904521eae87.tar.xz |
Bug 832863: needinfo doesn't work if user confirmation is required
-rw-r--r-- | extensions/Needinfo/Extension.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/Needinfo/Extension.pm b/extensions/Needinfo/Extension.pm index 509b74fd4..413934c23 100644 --- a/extensions/Needinfo/Extension.pm +++ b/extensions/Needinfo/Extension.pm @@ -57,16 +57,16 @@ sub bug_start_of_update { my $cgi = Bugzilla->cgi; my $params = Bugzilla->input_params; + # do a match if applicable + Bugzilla::User::match_field({ + 'needinfo_from' => { 'type' => 'single' } + }); + # Set needinfo_done param to true so as to not loop back here return if $params->{needinfo_done}; $params->{needinfo_done} = 1; Bugzilla->input_params($params); - # do a match if applicable - Bugzilla::User::match_field({ - 'needinfo_from' => { 'type' => 'single' } - }); - my $needinfo = delete $params->{needinfo}; my $needinfo_from = delete $params->{needinfo_from}; my $needinfo_role = delete $params->{needinfo_role}; |