Commit 8055714d authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 535675: Typing +foo in the QuickSearch box throws an "uninitialized value"…

Bug 535675: Typing +foo in the QuickSearch box throws an "uninitialized value" warning (missing 'order' parameter) - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=wicked a=LpSolit
parent 56763dc0
......@@ -855,7 +855,9 @@ if (defined $cgi->param('limit')) {
}
elsif ($fulltext) {
$query .= " " . $dbh->sql_limit(FULLTEXT_BUGLIST_LIMIT);
$vars->{'message'} = 'buglist_sorted_by_relevance' if ($cgi->param('order') =~ /^relevance/);
if ($cgi->param('order') && $cgi->param('order') =~ /^relevance/) {
$vars->{'message'} = 'buglist_sorted_by_relevance';
}
}
......
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