mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: timing issue with edits and cook post processing
This commit is contained in:
@@ -176,7 +176,7 @@ class PostCreator
|
||||
cooking_options = post.cooking_options || {}
|
||||
cooking_options[:topic_id] = post.topic_id
|
||||
|
||||
post.cooked ||= post.cook(post.raw, cooking_options)
|
||||
post.cooked ||= post.cook(post.raw, cooking_options.symbolize_keys)
|
||||
post.sort_order = post.post_number
|
||||
post.last_version_at ||= Time.now
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user