mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 02:44:39 +08:00
FIX: Missing post revision when editing the first post.
This commit is contained in:
@ -330,6 +330,7 @@ class TopicsController < ApplicationController
|
||||
|
||||
changes.delete(:title) if topic.title == changes[:title]
|
||||
changes.delete(:category_id) if topic.category_id.to_i == changes[:category_id].to_i
|
||||
changes.delete(:tags_empty_array) if !topic.tags.exists?
|
||||
|
||||
success = true
|
||||
|
||||
|
Reference in New Issue
Block a user