diff options
author | Mark Wells <mark@freeside.biz> | 2014-08-08 15:55:37 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-08-09 17:39:41 -0700 |
commit | 5db92cf346acf4205aa96f58843a0a1d065f3988 (patch) | |
tree | 557ae03a0de270f8aec58ddf2fda3e4efc4c6a69 /FS | |
parent | b4dd79750936de7aa6998cea77f9091cdbd67392 (diff) |
silence warning
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cdr.pm | 2 |
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' ) { |