projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9ff8902
)
fix "Use of implicit split to @_ is deprecated" warning, RT#20731, RT#20706
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 20 Dec 2012 20:06:13 +0000
(12:06 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 20 Dec 2012 20:06:13 +0000
(12:06 -0800)
FS/FS/part_pkg/voip_cdr.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_pkg/voip_cdr.pm
b/FS/FS/part_pkg/voip_cdr.pm
index
84b00e9
..
aae51e9
100644
(file)
--- a/
FS/FS/part_pkg/voip_cdr.pm
+++ b/
FS/FS/part_pkg/voip_cdr.pm
@@
-481,8
+481,8
@@
sub check_chargable {
return "carrierid NOT IN ( ". $self->option_cacheable('use_carrierid'). " )"
if $self->option_cacheable('use_carrierid') =~ /\S/
return "carrierid NOT IN ( ". $self->option_cacheable('use_carrierid'). " )"
if $self->option_cacheable('use_carrierid') =~ /\S/
- && !
grep { $cdr->carrierid eq $_ } split(/\s*,\s*/, $self->option_cacheable('use_carrierid')) #eq otherwise 0 matches ''
- && !
$flags{'da_rewrote'};
+ && !
$flags{'da_rewrote'} #why?
+ && !
grep { $cdr->carrierid eq $_ } split(/\s*,\s*/, $self->option_cacheable('use_carrierid')); #eq otherwise 0 matches ''
# unlike everything else, use_cdrtypenum is applied in FS::svc_x::get_cdrs.
return "cdrtypenum != ". $self->option_cacheable('use_cdrtypenum')
# unlike everything else, use_cdrtypenum is applied in FS::svc_x::get_cdrs.
return "cdrtypenum != ". $self->option_cacheable('use_cdrtypenum')