projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9003e8b
)
fix CDR pre-rating w/unlinked phone numbers, RT#27267
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 8 May 2014 01:19:05 +0000
(18:19 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 8 May 2014 01:19:05 +0000
(18:19 -0700)
FS/FS/cdr.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cdr.pm
b/FS/FS/cdr.pm
index
d3e44fe
..
d13c88b
100644
(file)
--- a/
FS/FS/cdr.pm
+++ b/
FS/FS/cdr.pm
@@
-911,7
+911,7
@@
sub rate_prefix {
$charge_sec -= ($included_min->{$regionnum}{$ratetimenum} * 60);
$included_min->{$regionnum}{$ratetimenum} = 0;
}
- } elsif ( $
{ $opt{'plan_included_min'
} } > 0 ) {
+ } elsif ( $
opt{plan_included_min} && ${ $opt{plan_included_min
} } > 0 ) {
# The package definition has included minutes, but only for in-group
# rate details. Decrement them if this is an in-group call.
if ( $rate_detail->region_group ) {