summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-06-12 10:38:43 +0200
committerByron Jones <bjones@mozilla.com>2013-06-12 10:38:43 +0200
commit75645b089d19ff211dbf19007a7048c0e8f8b521 (patch)
treeded403839e76d753e99d6825a32e8232643d2393 /Bugzilla/DB
parentb9915abd8c37fd3c48a84ab8463c9765b6e20814 (diff)
downloadbugzilla-75645b089d19ff211dbf19007a7048c0e8f8b521.tar.gz
bugzilla-75645b089d19ff211dbf19007a7048c0e8f8b521.tar.xz
Bug 882059: fix "use of uninitialized value" warnings, and ignore some errors/warnings
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Mysql.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm
index 9ddb46622..c430725ef 100644
--- a/Bugzilla/DB/Mysql.pm
+++ b/Bugzilla/DB/Mysql.pm
@@ -181,7 +181,7 @@ sub sql_fulltext_search {
$mode = 'IN BOOLEAN MODE';
# quote un-quoted compound words
- my @words = quotewords('[\s()]+', 'delimiters', $text);
+ my @words = grep { defined } quotewords('[\s()]+', 'delimiters', $text);
foreach my $word (@words) {
# match words that have non-word chars in the middle of them
if ($word =~ /\w\W+\w/ && $word !~ m/"/) {