1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-22 16:31:12 +00:00

remove spaces inside {} of app/models/changeset.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@19924 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-07-21 13:40:11 +00:00
parent b7673a7a37
commit 3068b378f8

View File

@ -238,7 +238,7 @@ class Changeset < ActiveRecord::Base
issue.assign_attributes rule.slice(*Issue.attribute_names)
end
Redmine::Hook.call_hook(:model_changeset_scan_commit_for_issue_ids_pre_issue_update,
{ :changeset => self, :issue => issue, :action => action })
{:changeset => self, :issue => issue, :action => action})
if issue.changes.any?
unless issue.save