summaryrefslogtreecommitdiff
path: root/FS/FS/cdr.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-08-09 17:40:35 -0700
committerMark Wells <mark@freeside.biz>2014-08-09 17:40:35 -0700
commit99c5baf25d3b02a91fdae547ad6fe40ecead508c (patch)
tree276f289eb3a72b194ace6dee1e5a3780af6f4606 /FS/FS/cdr.pm
parent66c62dfc4734fa278e7e28c5fda5c4061778dc14 (diff)
silence warning
Diffstat (limited to 'FS/FS/cdr.pm')
-rw-r--r--FS/FS/cdr.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm
index cd1416533..fce7a14ca 100644
--- a/FS/FS/cdr.pm
+++ b/FS/FS/cdr.pm
@@ -368,7 +368,7 @@ to inspect other field.
sub is_tollfree {
my $self = shift;
my $field = scalar(@_) ? shift : 'dst';
- my $country = $conf->config('tollfree-country');
+ my $country = $conf->config('tollfree-country') || '';
if ( $country eq 'AU' ) {
( $self->$field() =~ /^(\+?61)?1800/ ) ? 1 : 0;
} elsif ( $country eq 'NZ' ) {