diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2014-01-31 00:19:54 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2014-01-31 00:19:54 +0100 |
commit | e153c1fbc9c982fc88f44ea09f65b36dc231208c (patch) | |
tree | 7ef217a7ed2add62d0e2cf132456a537c693a054 | |
parent | db23eb216ba3476ef502285a5f2d50134177ec91 (diff) | |
download | bugzilla-e153c1fbc9c982fc88f44ea09f65b36dc231208c.tar.gz bugzilla-e153c1fbc9c982fc88f44ea09f65b36dc231208c.tar.xz |
Bug 966042 - [SENTRY] Use of uninitialized value in string eq at Bugzilla/Extension/BMO/lib/Reports/UserActivity.pm line 42
-rw-r--r-- | extensions/BMO/lib/Reports/UserActivity.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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'} }); |