summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 48a181998..622221507 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)
- && (scalar @needinfo_overrides && grep($_ == $flag->id, @needinfo_overrides)))
+ && grep($_ == $flag->id, @needinfo_overrides))
{
$clear_needinfo = 1;
}