Merged r15740 and r15748 (#23410).

git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15768 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2016-08-31 16:54:24 +00:00
parent d20f2a7def
commit e9370c3fce
4 changed files with 23 additions and 0 deletions

View File

@@ -489,6 +489,9 @@ class IssuesController < ApplicationController
render_error l(:error_no_default_issue_status)
return false
end
elsif request.get?
render_error :message => l(:error_no_projects_with_tracker_allowed_for_new_issue), :status => 403
return false
end
@priorities = IssuePriority.active