]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 289736: error message in query.cgi: Unknown column 'relevance' - Patch by Teemu...
authorlpsolit%gmail.com <>
Wed, 13 Apr 2005 00:57:15 +0000 (00:57 +0000)
committerlpsolit%gmail.com <>
Wed, 13 Apr 2005 00:57:15 +0000 (00:57 +0000)
buglist.cgi

index 32459a058a2c73e446b8004960eff6bf88568e6d..fbe18f7eee7f09c33befd82484b984cd39860737 100755 (executable)
@@ -161,7 +161,7 @@ if ($::buffer =~ /&cmd-/) {
 # we'll remove the relevance column from the lists of columns to display
 # and order by, since relevance only exists when doing a fulltext search.
 my $fulltext = 0;
-if (defined $cgi->param('content')) { $fulltext = 1 }
+if ($cgi->param('content')) { $fulltext = 1 }
 my @charts = map(/^field(\d-\d-\d)$/ ? $1 : (), $cgi->param());
 foreach my $chart (@charts) {
     if ($cgi->param("field$chart") eq 'content' && $cgi->param("value$chart")) {