summaryrefslogtreecommitdiff
path: root/httemplate/misc/batch-cust_pay.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/batch-cust_pay.html')
-rw-r--r--httemplate/misc/batch-cust_pay.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/misc/batch-cust_pay.html b/httemplate/misc/batch-cust_pay.html
index 610f6e1db..c5ed6d852 100644
--- a/httemplate/misc/batch-cust_pay.html
+++ b/httemplate/misc/batch-cust_pay.html
@@ -107,7 +107,7 @@ my @footer = ( '$', '_TOTAL', '' );
my @footer_align = ( 'c', 'r', 'r' );
my $custnum_update_callback = '';
-if ( FS::Record->scalar_sql('SELECT count(*) FROM part_pkg_discount') ) {
+if ( FS::Record->scalar_sql('SELECT COUNT(*) FROM part_pkg_discount') ) {
push @header, '';
push @fields, 'discount_term';
push @types, 'immutable';
@@ -128,4 +128,6 @@ push @colors, '#ff0000';
push @footer, '';
push @footer_align, '';
+$m->comp('/elements/handle_uri_query');
+
</%init>