Bug 504946: Fix "Use of uninitialized value $strs in split at

Bugzilla/Search.pm line 1038"
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260023 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2010-03-23 23:20:01 +00:00
parent 4aa7fb0cb3
commit cb3975d712
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
7075
7076

View File

@ -1048,6 +1048,7 @@ sub GetByWordList {
my ($field, $strs) = (@_);
my @list;
my $dbh = Bugzilla->dbh;
return [] unless defined $strs;
foreach my $w (split(/[\s,]+/, $strs)) {
my $word = $w;