summaryrefslogtreecommitdiff
path: root/FS/FS/cdr
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-09-10 12:23:31 -0700
committerIvan Kohler <ivan@freeside.biz>2015-09-10 12:23:31 -0700
commit8d76610b4329151076c7e2b81891406df36d18bb (patch)
tree912b517e57528bd2f94754551d5fe7c0714d4325 /FS/FS/cdr
parent6d72fff8b002cafb90395159c8bea3717d620dba (diff)
correct regex for importing with id 50, RT#37472
Diffstat (limited to 'FS/FS/cdr')
-rw-r--r--FS/FS/cdr/aapt.pm2
1 files changed, 1 insertions, 1 deletions
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;
}