From aa16f043eab19bf3211856c93da3b860511d3ecf Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 5 Jul 2016 16:48:14 -0400 Subject: [PATCH] FIX: When moving a topic, skip validations in case user is TL4 --- app/models/post_mover.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/post_mover.rb b/app/models/post_mover.rb index e95668dcb23..ec21ce73526 100644 --- a/app/models/post_mover.rb +++ b/app/models/post_mover.rb @@ -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