nobody likes it when you forget ions
authorivan <ivan>
Thu, 4 Oct 2007 19:04:40 +0000 (19:04 +0000)
committerivan <ivan>
Thu, 4 Oct 2007 19:04:40 +0000 (19:04 +0000)
FS/FS/cust_main.pm

index c26dc92..51ca73c 100644 (file)
@@ -2511,7 +2511,7 @@ sub collect {
   # false laziness w/pay_batch::import_results
 
   my $due_cust_event = $self->due_cust_event(
-    'debug'      => ( $opt{'debug'} || 0 ),
+    'debug'      => ( $options{'debug'} || 0 ),
     'time'       => $invoice_time,
     'check_freq' => $options{'check_freq'},
   );