summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/view/cust_main/contacts.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html
index 51b72da9a..a764b4541 100644
--- a/httemplate/view/cust_main/contacts.html
+++ b/httemplate/view/cust_main/contacts.html
@@ -36,9 +36,9 @@
<TR>
<TD ALIGN="right">City</TD>
<TD BGCOLOR="#ffffff"><% $cust_main->get("${pre}city") %></TD>
-% if ( $cust_main->county ) {
+% if ( $cust_main->get("${pre}county" ) {
<TD ALIGN="right">County</TD>
- <TD BGCOLOR="#ffffff"><% $cust_main->county %></TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->get->("${pre}county") %></TD>
% }
<TD ALIGN="right">State</TD>
<TD BGCOLOR="#ffffff"><% state_label( $cust_main->get("${pre}state"), $cust_main->get("${pre}country") ) %></TD>