projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add desc method to cust_bill_pkg and use it in cust_bill... this should help with...
[freeside.git]
/
FS
/
FS
/
part_export
/
sqlradius.pm
diff --git
a/FS/FS/part_export/sqlradius.pm
b/FS/FS/part_export/sqlradius.pm
index
03802b2
..
772da12
100644
(file)
--- a/
FS/FS/part_export/sqlradius.pm
+++ b/
FS/FS/part_export/sqlradius.pm
@@
-529,7
+529,8
@@
sub update_svc_acct {
warn " svc_acct.seconds found (". $svc_acct->seconds.
") - decrementing\n"
if $DEBUG;
warn " svc_acct.seconds found (". $svc_acct->seconds.
") - decrementing\n"
if $DEBUG;
- $svc_acct->decrement_seconds($AcctSessionTime);
+ my $error = $svc_acct->decrement_seconds($AcctSessionTime);
+ die $error if $error;
$status = 'done';
} else {
warn " no existing seconds value for svc_acct - skiping\n" if $DEBUG;
$status = 'done';
} else {
warn " no existing seconds value for svc_acct - skiping\n" if $DEBUG;