summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/Needinfo/Extension.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/Needinfo/Extension.pm b/extensions/Needinfo/Extension.pm
index b47b13f89..15c258839 100644
--- a/extensions/Needinfo/Extension.pm
+++ b/extensions/Needinfo/Extension.pm
@@ -57,11 +57,7 @@ sub bug_start_of_update {
my $cgi = Bugzilla->cgi;
my $params = Bugzilla->input_params;
- my $needinfo = delete $params->{needinfo};
- my $needinfo_from = delete $params->{needinfo_from};
- my $needinfo_role = delete $params->{needinfo_role};
- my $is_private = $params->{'comment_is_private'};
-
+ my $needinfo = delete $params->{needinfo};
if ($user->in_group('canconfirm') && $needinfo) {
# do a match if applicable
Bugzilla::User::match_field({
@@ -74,6 +70,10 @@ sub bug_start_of_update {
$params->{needinfo_done} = 1;
Bugzilla->input_params($params);
+ my $needinfo_from = delete $params->{needinfo_from};
+ my $needinfo_role = delete $params->{needinfo_role};
+ my $is_private = $params->{'comment_is_private'};
+
my @needinfo_overrides;
foreach my $key (grep(/^needinfo_override_/, keys %$params)) {
my ($id) = $key =~ /(\d+)$/;