diff options
Diffstat (limited to 'Bugzilla/Search/Recent.pm')
-rw-r--r-- | Bugzilla/Search/Recent.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Bugzilla/Search/Recent.pm b/Bugzilla/Search/Recent.pm index 1498af034..79257a851 100644 --- a/Bugzilla/Search/Recent.pm +++ b/Bugzilla/Search/Recent.pm @@ -34,8 +34,6 @@ use Bugzilla::Util; use constant DB_TABLE => 'profile_search'; use constant LIST_ORDER => 'id'; -use constant REQUIRED_CREATE_FIELDS => (); - use constant DB_COLUMNS => qw( id user_id @@ -120,7 +118,7 @@ sub _check_user_id { sub _check_bug_list { my ($invocant, $list) = @_; - my @bug_ids = ref($list) ? @$list : split(',', $list); + my @bug_ids = ref($list) ? @$list : split(',', $list || ''); detaint_natural($_) foreach @bug_ids; return join(',', @bug_ids); } |