mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-01 09:39:51 -04:00
FIX: When moving a topic, skip validations in case user is TL4
This commit is contained in:
parent
c63b0162e0
commit
aa16f043ea
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue