summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 6b03b123d..b8cfa6336 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -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';
+ }
}