diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-01 17:57:44 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-02 00:26:27 -0500 |
commit | f49c0a3ee7781cd1e60d3615b45cd324087add23 (patch) | |
tree | 40cebcdb6266d343b0df86df95119b8670100fbf /FS/FS/UI | |
parent | 7a7cbbf2d1afbbfb90c409b98ffa579e61dd865b (diff) |
RT#29285: State field not needed for New Zealand [bug fixes]
Diffstat (limited to 'FS/FS/UI')
-rw-r--r-- | FS/FS/UI/Web/small_custview.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/UI/Web/small_custview.pm b/FS/FS/UI/Web/small_custview.pm index 329e5f7..a1173f7 100644 --- a/FS/FS/UI/Web/small_custview.pm +++ b/FS/FS/UI/Web/small_custview.pm @@ -130,9 +130,9 @@ sub small_custview { $html .= encode_entities($cust_main->address2). '<BR>' if $cust_main->address2; $html .= encode_entities($cust_main->city) . ', ' if $cust_main->city; - $html .= $cust_main->state. ' '. - $cust_main->zip. '<BR>'; - $html .= $cust_main->country. '<BR>' + $html .= encode_entities($cust_main->state). ' '. + encode_entities($cust_main->zip). '<BR>'; + $html .= encode_entities($cust_main->country). '<BR>' if $cust_main->country && $cust_main->country ne $countrydefault; } |