mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 07:55:32 +08:00
FIX: When moving a topic, skip validations in case user is TL4
This commit is contained in:
parent
c63b0162e0
commit
aa16f043ea
@ -83,7 +83,8 @@ class PostMover
|
||||
post.user,
|
||||
raw: post.raw,
|
||||
topic_id: destination_topic.id,
|
||||
acting_user: user
|
||||
acting_user: user,
|
||||
skip_validations: true
|
||||
)
|
||||
p.update_column(:reply_count, @reply_count[1] || 0)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user