diff options
Diffstat (limited to 'FS/FS/cust_svc.pm')
-rw-r--r-- | FS/FS/cust_svc.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/cust_svc.pm b/FS/FS/cust_svc.pm index b8b64df6b..381b97f14 100644 --- a/FS/FS/cust_svc.pm +++ b/FS/FS/cust_svc.pm @@ -655,6 +655,9 @@ sub get_cdrs_for_update { my @where = map " $_ = '$number' ", @fields; push @where, map " $_ = '$prefix$number' ", @fields if length($prefix); + if ( $prefix =~ /^\+(\d+)$/ ) { + push @where, map " $_ = '$1$number' ", @fields + } my $extra_sql = ' AND ( '. join(' OR ', @where ). ' ) '; |