torrus: default to "preceding" behavior, RT#10574
[freeside.git] / FS / FS / part_pkg / voip_inbound.pm
index 36efad1..e3e6faa 100644 (file)
@@ -202,7 +202,7 @@ sub calc_usage {
   my $last_bill = $cust_pkg->get('last_bill'); #->last_bill falls back to setup
 
   return 0
-    if $self->option('recur_temporality', 1) eq 'preceding'
+    if $self->recur_temporality eq 'preceding'
     && ( $last_bill eq '' || $last_bill == 0 );
 
   my $spool_cdr = $cust_pkg->cust_main->spool_cdr;