From: lpsolit%gmail.com <> Date: Wed, 13 Apr 2005 00:57:15 +0000 (+0000) Subject: Bug 289736: error message in query.cgi: Unknown column 'relevance' - Patch by Teemu... X-Git-Tag: bugzilla-2.19.3~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26773f199e2700ea568553d62001268ca3a072de;p=thirdparty%2Fbugzilla.git Bug 289736: error message in query.cgi: Unknown column 'relevance' - Patch by Teemu Mannermaa r=jouni a=justdave --- diff --git a/buglist.cgi b/buglist.cgi index 32459a058a..fbe18f7eee 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -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")) {