diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-12-20 12:06:13 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-12-20 12:06:13 -0800 |
commit | 825e0f0fdb1fb45c8b9523e795da816773f04295 (patch) | |
tree | 95ebc52ca3df8818848faf86805ccc56cc51da10 /FS | |
parent | 9ff8902948074943f59ebad50842253574c45af2 (diff) |
fix "Use of implicit split to @_ is deprecated" warning, RT#20731, RT#20706
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/part_pkg/voip_cdr.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/part_pkg/voip_cdr.pm b/FS/FS/part_pkg/voip_cdr.pm index 84b00e99d..aae51e96c 100644 --- 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/ - && !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') |