Commit 9baeabf8 authored by jplang's avatar jplang

Use exists? instead of count (#24839).

git-svn-id: https://svn.redmine.org/redmine/trunk@16210 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 97fd2552
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment