[freeside-commits] branch master updated. 37eaedf1acb77298a1c5b6ca0eecf372633dc4cc
Ivan
ivan at 420.am
Wed Jul 11 23:44:54 PDT 2012
The branch, master has been updated
via 37eaedf1acb77298a1c5b6ca0eecf372633dc4cc (commit)
from f27da610fe9dabe8c7319f1935abd1a8cc7b2e90 (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 37eaedf1acb77298a1c5b6ca0eecf372633dc4cc
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Jul 11 23:44:47 2012 -0700
fix RADIUS overage billing, RT#18490
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 6c78958..8297d22 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -2709,7 +2709,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);
@@ -2741,7 +2741,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