diff options
Diffstat (limited to 'app/views/users/show.html.erb')
-rw-r--r-- | app/views/users/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 8c32235b7..3ac92fe07 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -40,7 +40,7 @@ :from => @events_by_day.keys.first %></h3> <p> -<%=l(:label_reported_issues)%>: <%= Issue.count(:conditions => ["author_id=?", @user.id]) %> +<%=l(:label_reported_issues)%>: <%= Issue.where(:author_id => @user.id).count %> </p> <div id="activity"> |