diff --git a/app/views/issues/_detail.html.erb b/app/views/issues/_detail.html.erb index a6ee7e61f..56c22c37a 100644 --- a/app/views/issues/_detail.html.erb +++ b/app/views/issues/_detail.html.erb @@ -27,7 +27,7 @@ <%= render :partial => 'action_menu' %>
- <% if @issue.description? || @issue.attachments.any? -%> + <% if @issue.description? || @issue.attachments.length > 0 -%>