summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2010-10-31 02:47:28 +0000
committerjeff <jeff>2010-10-31 02:47:28 +0000
commitd14aa44391dc7e2828fc6bab3f4032508fe5ea7a (patch)
tree778bea16d8f7ba3c6e42eccf97b2b94c3540324c
parent52af11086f11adc4228a68047bcfa1552650d1d5 (diff)
seek the geocode on the correct object RT#10093
-rw-r--r--FS/FS/cust_main/Billing.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main/Billing.pm b/FS/FS/cust_main/Billing.pm
index 10734bf34..496ef71c3 100644
--- a/FS/FS/cust_main/Billing.pm
+++ b/FS/FS/cust_main/Billing.pm
@@ -1226,7 +1226,7 @@ sub _gather_taxes {
local($DEBUG) = $FS::cust_main::DEBUG if $FS::cust_main::DEBUG > $DEBUG;
my $geocode = $self->geocode('cch');
- $geocode = $cust_pkg->geocode('cch')
+ $geocode = $cust_pkg->cust_location->geocode('cch')
if ( $conf->exists('tax-pkg_address') && $cust_pkg->locationnum );
my @taxes = ();