[freeside-commits] branch FREESIDE_4_BRANCH updated. ba74d54e5955b22ab4b20f73c408eede3bfbe23f
Ivan
ivan at 420.am
Thu Sep 10 12:23:37 PDT 2015
The branch, FREESIDE_4_BRANCH has been updated
via ba74d54e5955b22ab4b20f73c408eede3bfbe23f (commit)
from 8e6f89bf64394706aafcb949cc33dae88bbb6bcc (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 ba74d54e5955b22ab4b20f73c408eede3bfbe23f
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Sep 10 12:23:35 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