[freeside-commits] branch FREESIDE_3_BRANCH updated. ee51c7264d30040110d1da6f1cc0fbbdcbd04fbb

Ivan ivan at 420.am
Thu Sep 10 12:23:39 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  ee51c7264d30040110d1da6f1cc0fbbdcbd04fbb (commit)
      from  5223392618e4025cddb42bbaf709d3269b456970 (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 ee51c7264d30040110d1da6f1cc0fbbdcbd04fbb
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Sep 10 12:23:37 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