[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 6828686882d0323c3379a0fd73e9d389681a8b53
Ivan
ivan at 420.am
Wed Jul 11 23:45:00 PDT 2012
The branch, FREESIDE_2_3_BRANCH has been updated
via 6828686882d0323c3379a0fd73e9d389681a8b53 (commit)
from 656d88d045821f803112b4d136819281c1f85a79 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6828686882d0323c3379a0fd73e9d389681a8b53
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Jul 11 23:44:54 2012 -0700
fix RADIUS overage billing, RT#18490
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 81ec813..650fc1e 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -2601,7 +2601,7 @@ sub seconds_since_sqlradacct {
grep {
my $part_svc = $_->part_svc;
$part_svc->svcdb eq 'svc_acct'
- && scalar($part_svc->part_export('sqlradius'));
+ && scalar($part_svc->part_export_usage);
} $self->cust_svc
) {
$seconds += $cust_svc->seconds_since_sqlradacct($start, $end);
@@ -2633,7 +2633,7 @@ sub attribute_since_sqlradacct {
grep {
my $part_svc = $_->part_svc;
$part_svc->svcdb eq 'svc_acct'
- && scalar($part_svc->part_export('sqlradius'));
+ && scalar($part_svc->part_export_usage);
} $self->cust_svc
) {
$sum += $cust_svc->attribute_since_sqlradacct($start, $end, $attrib);
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_pkg.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list