Commit 9e572adb authored by Jesse Clark's avatar Jesse Clark Committed by Max Kanat-Alexander

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

Bugzilla/Search.pm line 1038" r=mkanat, a=mkanat
parent 455ab838
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment