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
|
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
|
||||||
|
|
Loading…
Reference in a new issue