From 648639c8dec6cb659fcfb09e609c654484a0b31a Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Mon, 29 Jul 2013 17:59:22 -0400 Subject: Bug 899323 - SENTRY ERROR: Use of uninitialized value in numeric eq (==) at /data/www/bugzilla.mozilla.org/extensions/Needinfo/Extension.pm line 154. --- extensions/Needinfo/Extension.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/Needinfo') 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; } -- cgit v1.2.3-24-g4f1b