[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm, 1.112, 1.113
Ivan,,,
ivan at wavetail.420.am
Fri Feb 11 16:22:00 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv21754
Modified Files:
voip_cdr.pm
Log Message:
handle domestic_prefix of 0, RT#11390
Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -w -d -r1.112 -r1.113
--- voip_cdr.pm 11 Feb 2011 23:59:28 -0000 1.112
+++ voip_cdr.pm 12 Feb 2011 00:21:58 -0000 1.113
@@ -475,7 +475,7 @@
}
} else {
- $countrycode = $domestic_prefix || '1';
+ $countrycode = length($domestic_prefix) ? $domestic_prefix : '1';
$number =~ s/^$countrycode//;# if length($number) > 10;
}
More information about the freeside-commits
mailing list