Minimisece race condition.

This commit is contained in:
Martin Edenhofer 2016-09-08 08:39:04 +02:00
parent 88b6312a22
commit 82188f5024

View file

@ -115,8 +115,9 @@ class Transaction::Trigger
end end
next if !match next if !match
end end
Transaction.execute do
ticket.perform_changes(trigger.perform, 'trigger', @item) ticket.perform_changes(trigger.perform, 'trigger', @item)
end
} }
UserInfo.current_user_id = original_user_id UserInfo.current_user_id = original_user_id
end end