[freeside-commits] freeside/httemplate/misc batch-cust_pay.html, 1.14, 1.15

Ivan,,, ivan at wavetail.420.am
Fri Nov 26 19:55:09 PST 2010


Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv21316/misc

Modified Files:
	batch-cust_pay.html 
Log Message:
fix "URL limit exceeded" when errors are present on quick payment entry, RT#9917

Index: batch-cust_pay.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/batch-cust_pay.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -w -d -r1.14 -r1.15
--- batch-cust_pay.html	22 Sep 2010 19:16:19 -0000	1.14
+++ batch-cust_pay.html	27 Nov 2010 03:55:07 -0000	1.15
@@ -107,7 +107,7 @@
 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 @footer, '';
 push @footer_align, '';
 
+$m->comp('/elements/handle_uri_query');
+
 </%init>



More information about the freeside-commits mailing list