summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main/name.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/cust_main/name.html')
-rw-r--r--httemplate/edit/cust_main/name.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/edit/cust_main/name.html b/httemplate/edit/cust_main/name.html
index c1078d46a..120475b92 100644
--- a/httemplate/edit/cust_main/name.html
+++ b/httemplate/edit/cust_main/name.html
@@ -3,7 +3,8 @@
<DIV STYLE="display: inline-block" ID="<% $field %>_input">
<INPUT TYPE="text" NAME="<% $field %>" VALUE="<% $value |h %>" <%$extra%>>
% if (
-% ref $unmask_field
+% $value
+% && ref $unmask_field
% && !$unmask_field->{unmask_ss}
% && $FS::CurrentUser::CurrentUser->access_right( $unmask_field->{access_right} )
% ) {