Ticket #32755 Fix eftcanda delay date
authorJeremy Davis <jeremyd@freeside.biz>
Tue, 30 Dec 2014 12:17:38 +0000 (07:17 -0500)
committerJeremy Davis <jeremyd@freeside.biz>
Tue, 30 Dec 2014 12:17:38 +0000 (07:17 -0500)
FS/FS/pay_batch/eft_canada.pm

index ab9e6a3..b7a9e19 100644 (file)
@@ -149,7 +149,7 @@ sub process_date {
     @config = $conf->config('batchconfig-eft_canada');
   }
 
-  my $process_delay = $config[3] || 1;
+  my $process_delay = $config[4] || 1;
 
   if ( (localtime(time))[2] >= 10 and $process_delay == 1 ) {
     # If downloading the batch after 10:00 local time, it likely won't make