From: Jean-Philippe Lang Date: Wed, 7 Mar 2012 18:41:22 +0000 (+0000) Subject: Merged r9135 from trunk. X-Git-Tag: 1.3.2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=898e10491fe984aac96dc1c8465b324ee586bf93;p=redmine.git Merged r9135 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.3-stable@9157 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index c765556e9..da66e640c 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -66,7 +66,8 @@ class ProjectsController < ApplicationController def new @issue_custom_fields = IssueCustomField.find(:all, :order => "#{CustomField.table_name}.position") @trackers = Tracker.all - @project = Project.new(params[:project]) + @project = Project.new + @project.safe_attributes = params[:project] end verify :method => :post, :only => :create, :render => {:nothing => true, :status => :method_not_allowed }