summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-01 17:27:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-01 17:27:44 +0000
commitd3386a5af784945f70e2c6d95e95e79946754a22 (patch)
treecce51aa5b56a48abe09590b4f1fd653a3bf7192c /app/views/projects
parent5330ca9b8cb643128ea492e075e977bd8af9522b (diff)
downloadredmine-d3386a5af784945f70e2c6d95e95e79946754a22.tar.gz
redmine-d3386a5af784945f70e2c6d95e95e79946754a22.zip
Fixed: 404 when "Apply" clicked on activity page (#2251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2082 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/activity.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/activity.rhtml b/app/views/projects/activity.rhtml
index 784a5ac39..b0e536690 100644
--- a/app/views/projects/activity.rhtml
+++ b/app/views/projects/activity.rhtml
@@ -52,7 +52,7 @@
<p><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label></p>
<%= hidden_field_tag 'with_subprojects', 0 %>
<% end %>
-<%= hidden_field_tag 'user_id', params[:user_id] %>
+<%= hidden_field_tag('user_id', params[:user_id]) unless params[:user_id].blank? %>
<p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
<% end %>
<% end %>