summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/view/cust_main/contacts.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html
index 20770e45b..e88c02ea5 100644
--- a/httemplate/view/cust_main/contacts.html
+++ b/httemplate/view/cust_main/contacts.html
@@ -29,10 +29,7 @@
% if ( $cust_main->get("${pre}address2") ) {
% my $address2_label =
% ( $conf->exists('cust_main-require_address2')
-% # && ( ( !$which && !$cust_main->has_ship_address )
-% # || ( $which && $cust_main->has_ship_address )
-% # )
-% && ! ( $which xor $cust_main->has_ship_address )
+% && ! ( $pre xor $cust_main->has_ship_address )
% )
% ? 'Unit #'
% : ' ';