[freeside-commits] freeside/FS/FS cust_bill_pkg.pm,1.49,1.50
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue May 18 21:06:09 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv22413
Modified Files:
cust_bill_pkg.pm
Log Message:
avoid spurious bash default usage category charges
Index: cust_bill_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill_pkg.pm,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -w -d -r1.49 -r1.50
--- cust_bill_pkg.pm 6 Feb 2010 02:54:09 -0000 1.49
+++ cust_bill_pkg.pm 19 May 2010 04:06:07 -0000 1.50
@@ -677,7 +677,10 @@
$cust_bill_pkg{''}->recur( $classless );
$cust_bill_pkg{$class} = $cust_bill_pkg_usage;
}
- delete $cust_bill_pkg{''} unless $cust_bill_pkg{''}->recur;
+ warn "Unexpected classless usage value: ". $cust_bill_pkg{''}->recur
+ if ($cust_bill_pkg{''}->recur && $cust_bill_pkg{''}->recur < 0);
+ delete $cust_bill_pkg{''}
+ unless ($cust_bill_pkg{''}->recur && $cust_bill_pkg{''}->recur > 0);
}
# # sort setup,recur,'', and the rest numeric && return
More information about the freeside-commits
mailing list