aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2010-01-06 14:59:10 +0000
committerlpsolit%gmail.com <>2010-01-06 14:59:10 +0000
commit8055714d949e8337897bc30dc55add782ec9d5de (patch)
treed1fa1897df0512cf795cadd3f2a05762ac59e1f5
parent56763dc0f63be91f3c9986fc2f6d6514a77f24e7 (diff)
downloadbugs-8055714d949e8337897bc30dc55add782ec9d5de.tar
bugs-8055714d949e8337897bc30dc55add782ec9d5de.tar.gz
bugs-8055714d949e8337897bc30dc55add782ec9d5de.tar.bz2
bugs-8055714d949e8337897bc30dc55add782ec9d5de.tar.xz
bugs-8055714d949e8337897bc30dc55add782ec9d5de.zip
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
-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';
+ }
}