diff options
author | ivan <ivan> | 2007-12-17 01:17:06 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-12-17 01:17:06 +0000 |
commit | dd859a6dd5620030855765f9d7871fa0111d7d22 (patch) | |
tree | bb9a84da07a57a7d928b0b5daba637c8e867d1e2 | |
parent | 530b42f465b0ab31fbb4c2754d0e385b330f3b5f (diff) |
fix the case where the customer doesn't actually have a ship address
-rw-r--r-- | httemplate/view/cust_main/contacts.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index 52754d4cb..0fe2c1ffa 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 #' % : ' '; |