summaryrefslogtreecommitdiffstats
path: root/extensions/Needinfo
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Needinfo')
-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 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};