From 6e0f9bf522acce334318adea8ea0b003781f8272 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 7 Jun 2017 18:08:21 -0700 Subject: [PATCH] don't error out displaying customer reocrd if tax vendor is configured and customer has no address --- httemplate/view/cust_main/billing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index bd589d79e..5935da9cd 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -138,7 +138,7 @@ set_display_recurring(<% encode_json({'display_recurring' => [ $cust_main->displ % my $tax_location = $conf->exists('tax-ship_address') % ? $cust_main->ship_location % : $cust_main->bill_location; - <% $tax_location->geocode %> + <% $tax_location && $tax_location->geocode %> % } -- 2.11.0