refs #254115 params[:issue][:project_id] must not by present
This commit is contained in:
parent
0017d5d5dc
commit
a7a1811c24
@ -73,7 +73,7 @@ module RedmineDmsf
|
||||
issue = context[:issue]
|
||||
params = context[:params]
|
||||
controller = context[:controller]
|
||||
if edit && params[:issue]
|
||||
if edit && params[:issue] && params[:issue][:project_id].present?
|
||||
project_id = params[:issue][:project_id].to_i
|
||||
old_project_id = context[:project].id
|
||||
# Sync the title with the issue's subject
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user