[freeside-commits] branch master updated. 8d76610b4329151076c7e2b81891406df36d18bb
Ivan
ivan at 420.am
Thu Sep 10 12:23:34 PDT 2015
The branch, master has been updated
via 8d76610b4329151076c7e2b81891406df36d18bb (commit)
from 6d72fff8b002cafb90395159c8bea3717d620dba (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 8d76610b4329151076c7e2b81891406df36d18bb
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Sep 10 12:23:31 2015 -0700
correct regex for importing with id 50, RT#37472
diff --git a/FS/FS/cdr/aapt.pm b/FS/FS/cdr/aapt.pm
index 3c49643..934608c 100644
--- a/FS/FS/cdr/aapt.pm
+++ b/FS/FS/cdr/aapt.pm
@@ -77,7 +77,7 @@ my %UNIT_SCALE = ( #Table 2.1.4
'calltypenum', # usage ID (CUSG)
sub { # ID type
my ($cdr, $data, $conf, $param) = @_;
- if ($data !~ /(1|50)/) {
+ if ($data !~ /^(1|50)$/) {
warn "AAPT: service ID type is not telephone number.\n";
$param->{skiprow} = 1;
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cdr/aapt.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list