FIX: changing category within edit grace period as TL3 pops up an error

This commit is contained in:
Régis Hanol 2014-11-17 15:57:45 +01:00
parent a06bf0b7be
commit dd9c475ea0
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class TopicsController < ApplicationController
if changes.length > 0
first_post = topic.ordered_posts.first
success = PostRevisor.new(first_post, topic).revise!(current_user, changes)
success = PostRevisor.new(first_post, topic).revise!(current_user, changes, skip_validations: true)
end
# this is used to return the title to the client as it may have been changed by "TextCleaner"