1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-26 18:31:14 +00:00

Use exists? instead of count (#24839).

git-svn-id: http://svn.redmine.org/redmine/trunk@16210 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2017-01-16 18:11:23 +00:00
parent 60a26922f3
commit 62c7d11427

View File

@ -32,7 +32,7 @@
<% end %>
<div id="status_by">
<%= render_issue_status_by(@version, params[:status_by]) if @version.fixed_issues.count > 0 %>
<%= render_issue_status_by(@version, params[:status_by]) if @version.fixed_issues.exists? %>
</div>
</div>