Actions
Bug #1788
closedxmera Omnia - Collection #1775: Fix smaller bugs in some components
undefined method `[]' for nil:NilClass params[:project][:project_type_id].to_i
Start date:
Due date:
% Done:
100%
Estimated time:
Affected Version:
Compatible Redmine Version:
Pull Request Link:
Description
A NoMethodError occurred in projects#create:
undefined method `[]' for nil:NilClass
params[:project][:project_type_id].to_i
^^^^^^^^^^^^^^^^^^
plugins/redmine_project_types/lib/project_types/extensions/projects_controller_patch.rb:45:in `project_type_id'
plugins/redmine_project_types/lib/project_types/overrides/projects_controller_patch.rb:49:in `create'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
Actions