diff --git a/app/views/profile_editor/_person_form.html.erb b/app/views/profile_editor/_person_form.html.erb
index 507b7c4..7352ea8 100644
--- a/app/views/profile_editor/_person_form.html.erb
+++ b/app/views/profile_editor/_person_form.html.erb
@@ -133,15 +133,13 @@
- <%= text_field_tag( "profile_data[custom_fields][#{key}][value]", @person.custom_fields[key][:value], :size => 30 ) %>
+ <% valor = @person.custom_fields[key] ? @person.custom_fields[key][value] : "" %>
+ <%= text_field_tag( "profile_data[custom_fields][#{key}][value]", valor, :size => 30 ) %>
-
-
-
-
+ <%= profile_field_privacy_selector @person, key %>
<% end %>
--
libgit2 0.21.2