[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm,1.56,1.57
Ivan,,,
ivan at wavetail.420.am
Tue Mar 31 12:47:37 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv8764
Modified Files:
voip_cdr.pm
Log Message:
quiet warning: Argument "" isn't numeric in numeric eq (==) at /usr/local/share/perl/5.10.0/FS/part_pkg/voip_cdr.pm line 201
Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- voip_cdr.pm 9 Feb 2009 05:59:51 -0000 1.56
+++ voip_cdr.pm 31 Mar 2009 19:47:35 -0000 1.57
@@ -199,7 +199,8 @@
my $last_bill = $cust_pkg->get('last_bill'); #->last_bill falls back to setup
return 0
- if $self->option('recur_temporality', 1) eq 'preceding' && $last_bill == 0;
+ if $self->option('recur_temporality', 1) eq 'preceding'
+ && ( $last_bill eq '' || $last_bill == 0 );
my $ratenum = $cust_pkg->part_pkg->option('ratenum');
More information about the freeside-commits
mailing list