From: ivan Date: Sun, 22 May 2011 20:09:23 +0000 (+0000) Subject: scalar all CGI params used in lists X-Git-Tag: freeside_2_1_3~196 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=c0f73e8675d875b53dc755523f3dce5e82b03749;p=freeside.git scalar all CGI params used in lists --- diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi index ba7d4e368..d1239e30d 100755 --- a/httemplate/search/cust_main.cgi +++ b/httemplate/search/cust_main.cgi @@ -212,7 +212,7 @@ % 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? % ); % }