summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2010-01-06 15:59:10 +0100
committerlpsolit%gmail.com <>2010-01-06 15:59:10 +0100
commit8055714d949e8337897bc30dc55add782ec9d5de (patch)
treed1fa1897df0512cf795cadd3f2a05762ac59e1f5 /buglist.cgi
parent56763dc0f63be91f3c9986fc2f6d6514a77f24e7 (diff)
downloadbugzilla-8055714d949e8337897bc30dc55add782ec9d5de.tar.gz
bugzilla-8055714d949e8337897bc30dc55add782ec9d5de.tar.xz
Bug 535675: Typing +foo in the QuickSearch box throws an "uninitialized value" warning (missing 'order' parameter) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=LpSolit
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';
+ }
}