From: ivan Date: Fri, 15 Apr 2011 18:05:38 +0000 (+0000) Subject: mysql fix for unused missing_recur_fee option X-Git-Tag: freeside_2_3_0~387 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=0a256d5758b5826aeaf7b59ac2e0f8c97ba8b86b mysql fix for unused missing_recur_fee option --- diff --git a/httemplate/browse/part_pkg.cgi b/httemplate/browse/part_pkg.cgi index 26e01700a..dd20f8d31 100755 --- a/httemplate/browse/part_pkg.cgi +++ b/httemplate/browse/part_pkg.cgi @@ -73,7 +73,7 @@ if ( $cgi->param('missing_recur_fee') ) { push @where, "0 = ( SELECT COUNT(*) FROM part_pkg_option WHERE optionname = 'recur_fee' AND part_pkg_option.pkgpart = part_pkg.pkgpart - AND CAST ( optionvalue AS NUMERIC ) > 0 + AND CAST( optionvalue AS NUMERIC ) > 0 )"; } @@ -148,6 +148,7 @@ my $filter_change = #restore this so pagination works $cgi->param('classnum', $classnum) if length($classnum); +#should hide this if there aren't any classes my $html_posttotal = "$filter_change\n
( show class: ". include('/elements/select-pkg_class.html',