Minimisece race condition.
This commit is contained in:
parent
88b6312a22
commit
82188f5024
1 changed files with 3 additions and 2 deletions
|
@ -115,8 +115,9 @@ class Transaction::Trigger
|
|||
end
|
||||
next if !match
|
||||
end
|
||||
|
||||
ticket.perform_changes(trigger.perform, 'trigger', @item)
|
||||
Transaction.execute do
|
||||
ticket.perform_changes(trigger.perform, 'trigger', @item)
|
||||
end
|
||||
}
|
||||
UserInfo.current_user_id = original_user_id
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue