diff options
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/show.rhtml b/app/views/users/show.rhtml index afab71110..c100e6ebd 100644 --- a/app/views/users/show.rhtml +++ b/app/views/users/show.rhtml @@ -9,7 +9,7 @@ <% unless @user.pref.hide_mail %> <li><%=l(:field_mail)%>: <%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></li> <% end %> - <% for custom_value in @custom_values %> + <% @user.visible_custom_field_values.each do |custom_value| %> <% if !custom_value.value.blank? %> <li><%=h custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li> <% end %> |