diff --git a/app/views/repositories/changes.html.erb b/app/views/repositories/changes.html.erb
index 3d4c7a96b..734f8b81c 100644
--- a/app/views/repositories/changes.html.erb
+++ b/app/views/repositories/changes.html.erb
@@ -12,7 +12,7 @@
<%= render_properties(@properties) %>
-<%= render(:partial => 'revisions',
+<%= render(:partial => 'revisions',
:locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }) unless @changesets.empty? %>
<% html_title(l(:label_change_plural)) -%>