mirror of
https://github.com/redmine/redmine.git
synced 2026-02-21 22:17:55 +01: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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user