[Koha-patches] [PATCH] [3.0.x](bug #3307) Fixed a syntax error in search.pl

Jean-André Santoni jeanandre.santoni at biblibre.com
Mon Jun 8 16:01:02 CEST 2009


From: kivutar <kivutar at macbook.(none)>

I was unable to do searches on the intranet side. Any catalog search resulted in an error 500. Apache log showed a syntax error in search.pl.
---
 catalogue/search.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/catalogue/search.pl b/catalogue/search.pl
index ea4b74a..503ed4f 100755
--- a/catalogue/search.pl
+++ b/catalogue/search.pl
@@ -420,7 +420,7 @@ my @results;
 
 ## I. BUILD THE QUERY
 my $lang = C4::Output::getlanguagecookie($cgi);
-( $error,$query,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type) = buildQuery(\@operators,\@operands,\@indexes,\@limits,\@sort_by,$scan,$lang));
+( $error,$query,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type) = buildQuery(\@operators,\@operands,\@indexes,\@limits,\@sort_by,$scan,$lang);
 
 ## parse the query_cgi string and put it into a form suitable for <input>s
 my @query_inputs;
-- 
1.6.0.4




More information about the Koha-patches mailing list