From: jeff Date: Thu, 20 Nov 2008 19:02:30 +0000 (+0000) Subject: this must be what is meant X-Git-Tag: root_of_webpay_support~245 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=903d64282ac6492a6476b47d9fba464d0af092fc this must be what is meant --- diff --git a/FS/FS/rate.pm b/FS/FS/rate.pm index 257278a30..128581277 100644 --- a/FS/FS/rate.pm +++ b/FS/FS/rate.pm @@ -284,8 +284,8 @@ sub dest_detail { my $regionnum; if ( ref($_[0]) eq 'HASH' ) { - my $countrycode = $_->{'countrycode'}; - my $phonenum = $_->{'phonenum'}; + my $countrycode = $_[0]->{'countrycode'}; + my $phonenum = $_[0]->{'phonenum'}; #find a rate prefix, first look at most specific (4 digits) then 3, etc., # finally trying the country code only