mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 14:37:43 +02:00
Fixed that IssueRelation should not be responsible for calling Issue#init_journal (#18237).
git-svn-id: http://svn.redmine.org/redmine/trunk@13534 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -406,6 +406,7 @@ class IssuesController < ApplicationController
|
||||
def build_new_issue_from_params
|
||||
if params[:id].blank?
|
||||
@issue = Issue.new
|
||||
@issue.init_journal(User.current)
|
||||
if params[:copy_from]
|
||||
begin
|
||||
@copy_from = Issue.visible.find(params[:copy_from])
|
||||
|
||||
Reference in New Issue
Block a user