summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-eftca-upload
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-07-02 15:16:52 -0700
committerIvan Kohler <ivan@freeside.biz>2012-07-02 15:16:52 -0700
commit508c7c268254ef63f26bb8a59aa679a6e24f5019 (patch)
tree50b344972cd97237ef3c4b64bfa414659f896e0e /FS/bin/freeside-eftca-upload
parent57c7321b85ecc3945cfca160bf6d84991c43bd3a (diff)
parent92aedddd3684167abb60cd3f1d77bbc156c592e6 (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'FS/bin/freeside-eftca-upload')
-rwxr-xr-xFS/bin/freeside-eftca-upload2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/bin/freeside-eftca-upload b/FS/bin/freeside-eftca-upload
index 45a358b23..b66765af3 100755
--- a/FS/bin/freeside-eftca-upload
+++ b/FS/bin/freeside-eftca-upload
@@ -46,7 +46,7 @@ foreach my $pay_batch (@batches) {
my $batchnum = $pay_batch->batchnum;
my $filename = time2str('%Y%m%d', time) . '-' . sprintf('%06d.csv',$batchnum);
print STDERR "Exporting batch $batchnum to $filename...\n" if $opt_v;
- my $text = $pay_batch->export_batch('eft_canada');
+ my $text = $pay_batch->export_batch(format => 'eft_canada');
open OUT, ">$tmpdir/$filename";
print OUT $text;
close OUT;