X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Frate.pm;h=1285812772729a40dbee682619b98e684037a298;hb=6115c160d19e6c82e3f713d0d79128fbf45e46da;hp=257278a30dc273640e8dbc2a1e9b0a9dc0c6d3db;hpb=92adead1404db357a11b58f38c2b4403381a2809;p=freeside.git 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