From b080ab3e3ed12a6bdf1bd2b7e3799fe1336a3c47 Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 27 May 2011 01:11:19 +0000 Subject: invoice batch download fix, #11871 --- httemplate/search/bill_batch.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/search/bill_batch.cgi') diff --git a/httemplate/search/bill_batch.cgi b/httemplate/search/bill_batch.cgi index e5abc8955..72e5d3a8b 100755 --- a/httemplate/search/bill_batch.cgi +++ b/httemplate/search/bill_batch.cgi @@ -57,7 +57,7 @@ my $count_query = 'SELECT COUNT(*) FROM bill_batch'; my $extra_sql = ''; # may add something here later my $link = [ "${p}view/bill_batch.cgi?batchnum=", 'batchnum' ]; my $dlink = sub { - [ "${p}view/bill_batch.cgi?magic=print;". + [ "${p}view/bill_batch.cgi?start_download=1;". (shift->status eq 'O' ? 'close=1;' : ''). 'batchnum=', 'batchnum'] -- cgit v1.2.1