summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2008-11-20 19:02:30 +0000
committerjeff <jeff>2008-11-20 19:02:30 +0000
commit903d64282ac6492a6476b47d9fba464d0af092fc (patch)
tree28248feaa427c85b1261fda02328d7e54028cfc2
parent00c17c3abef5a0d315823b415f247265eb8fdc66 (diff)
this must be what is meant
-rw-r--r--FS/FS/rate.pm4
1 files changed, 2 insertions, 2 deletions
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