summaryrefslogtreecommitdiff
path: root/httemplate/browse
diff options
context:
space:
mode:
authorivan <ivan>2011-04-15 18:05:38 +0000
committerivan <ivan>2011-04-15 18:05:38 +0000
commit0a256d5758b5826aeaf7b59ac2e0f8c97ba8b86b (patch)
tree6566ab20055f0ef666dd681682801b7de2bff378 /httemplate/browse
parent7402bf45516dfe627239e7a573b1cddc39ddaf76 (diff)
mysql fix for unused missing_recur_fee option
Diffstat (limited to 'httemplate/browse')
-rwxr-xr-xhttemplate/browse/part_pkg.cgi3
1 files changed, 2 insertions, 1 deletions
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<BR>( show class: ".
include('/elements/select-pkg_class.html',