summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2014-01-31 00:19:54 +0100
committerDave Lawrence <dlawrence@mozilla.com>2014-01-31 00:19:54 +0100
commite153c1fbc9c982fc88f44ea09f65b36dc231208c (patch)
tree7ef217a7ed2add62d0e2cf132456a537c693a054 /extensions/BMO
parentdb23eb216ba3476ef502285a5f2d50134177ec91 (diff)
downloadbugzilla-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
Diffstat (limited to 'extensions/BMO')
-rw-r--r--extensions/BMO/lib/Reports/UserActivity.pm2
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'} });