From e153c1fbc9c982fc88f44ea09f65b36dc231208c Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Thu, 30 Jan 2014 23:19:54 +0000 Subject: Bug 966042 - [SENTRY] Use of uninitialized value in string eq at Bugzilla/Extension/BMO/lib/Reports/UserActivity.pm line 42 --- extensions/BMO/lib/Reports/UserActivity.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/BMO/lib/Reports/UserActivity.pm') diff --git a/extensions/BMO/lib/Reports/UserActivity.pm b/extensions/BMO/lib/Reports/UserActivity.pm index feca7c4b7..dc0ee26d3 100644 --- a/extensions/BMO/lib/Reports/UserActivity.pm +++ b/extensions/BMO/lib/Reports/UserActivity.pm @@ -39,7 +39,7 @@ sub report { } if ($action eq 'run') { - if ($input->{'who'} eq '') { + if (!exists $input->{'who'} || $input->{'who'} eq '') { ThrowUserError('user_activity_missing_username'); } Bugzilla::User::match_field({ 'who' => {'type' => 'multi'} }); -- cgit v1.2.3-24-g4f1b