Timelog on issues workaround

This commit is contained in:
Karel Picman 2018-04-04 10:22:22 +02:00
parent 1b67cde032
commit deb65e9354

View File

@ -73,7 +73,7 @@ module RedmineDmsf
issue = context[:issue]
params = context[:params]
# Move existing attached documents if needed
if edit
if edit && params[:issue]
project_id = params[:issue][:project_id].to_i
old_project_id = context[:project].id
system_folder = issue.system_folder(false, old_project_id)