summaryrefslogtreecommitdiffstats
path: root/extensions/Needinfo
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Needinfo')
-rw-r--r--extensions/Needinfo/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Needinfo/Extension.pm b/extensions/Needinfo/Extension.pm
index 622221507..48a181998 100644
--- a/extensions/Needinfo/Extension.pm
+++ b/extensions/Needinfo/Extension.pm
@@ -154,7 +154,7 @@ sub bug_start_of_update {
if ($bug->{added_comments}
&& (!$flag->requestee || $flag->requestee->login eq Bugzilla->user->login)
&& (!$is_private || $flag->setter->is_insider)
- && grep($_ == $flag->id, @needinfo_overrides))
+ && (scalar @needinfo_overrides && grep($_ == $flag->id, @needinfo_overrides)))
{
$clear_needinfo = 1;
}