diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml
index bd0eec41fe..c23acdf830 100644
--- a/app/views/issues/show.rhtml
+++ b/app/views/issues/show.rhtml
@@ -45,7 +45,7 @@
<% n = 0 -%>
-<% @issue.custom_values.each do |value| -%>
+<% @issue.custom_field_values.each do |value| -%>
<%=h value.custom_field.name %>: | <%= simple_format(h(show_value(value))) %> |
<% n = n + 1
if (n > 1)