From: Mark Wells Date: Fri, 8 Aug 2014 22:55:37 +0000 (-0700) Subject: silence warning X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=5db92cf346acf4205aa96f58843a0a1d065f3988 silence warning --- 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' ) {