From 78ad530afc8cd865655dd86b249112f15fccdcf1 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 22 May 2011 20:08:37 +0000 Subject: [PATCH] scalar all CGI params used in lists --- httemplate/search/cust_main.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi index b4db1daf3..8b67215bc 100755 --- a/httemplate/search/cust_main.cgi +++ b/httemplate/search/cust_main.cgi @@ -444,7 +444,7 @@ if ( $cgi->param('browse') if ( $cgi->param('search_cust') ) { $sortby = \*company_sort; $orderby = "ORDER BY LOWER(company || ' ' || last || ' ' || first )"; - push @cust_main, smart_search( 'search' => $cgi->param('search_cust'), + push @cust_main, smart_search( 'search' => scalar($cgi->param('search_cust')), 'no_fuzzy_on_exact' => 1, #pref? ); } -- 2.11.0