diff options
Diffstat (limited to 'extensions/BMO/lib')
-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'} }); |