X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fsearch%2Fcust_main.html;h=66a3a982592f9c79f29d41f76ef4c30912a72790;hb=ecc15d03711690d2b2aeeda2bd8ff1119956c583;hp=24348ff8a551588fddd6d5a59b1fb58e85abc2fa;hpb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125;p=freeside.git diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html index 24348ff8a..66a3a9825 100755 --- a/httemplate/search/cust_main.html +++ b/httemplate/search/cust_main.html @@ -41,7 +41,7 @@ my %search_hash = (); #scalars my @scalars = qw ( - agentnum status address zip paydate_year paydate_month invoice_terms + agentnum salesnum status address zip paydate_year paydate_month invoice_terms no_censustract with_geocode with_email POST no_POST custbatch usernum cancelled_pkgs @@ -51,7 +51,7 @@ my @scalars = qw ( for my $param ( @scalars ) { $search_hash{$param} = scalar( $cgi->param($param) ) - if $cgi->param($param); + if length($cgi->param($param)); } #lists