summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-03-15 23:32:52 +0000
committerGo MAEDA <maeda@farend.jp>2021-03-15 23:32:52 +0000
commitc54349cc0b33dcc3f2a6a17661cc0d216e0e8736 (patch)
treedd3993dfe17b897ce8919f0c0f1a257a91023257 /app/views/issues
parentf7ebb0d9aaa09dde4f25267093c7a999f7dcba38 (diff)
downloadredmine-c54349cc0b33dcc3f2a6a17661cc0d216e0e8736.tar.gz
redmine-c54349cc0b33dcc3f2a6a17661cc0d216e0e8736.zip
Do not display in issue edit page spent time custom fields not visible by the user (#33550).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20801 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/_edit.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_edit.html.erb b/app/views/issues/_edit.html.erb
index 33f8352f5..954f606f3 100644
--- a/app/views/issues/_edit.html.erb
+++ b/app/views/issues/_edit.html.erb
@@ -21,7 +21,7 @@
</div>
</div>
<p><%= time_entry.text_field :comments, :size => 60 %></p>
- <% @time_entry.custom_field_values.each do |value| %>
+ <% @time_entry.editable_custom_field_values.each do |value| %>
<p><%= custom_field_tag_with_label :time_entry, value %></p>
<% end %>
<% end %>