mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 21:21:19 +08:00
build is failing :fired:
This commit is contained in:
@ -131,7 +131,7 @@ class TopicsController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
changes.delete(:title) if topic.title == changes[:title]
|
changes.delete(:title) if topic.title == changes[:title]
|
||||||
changes.delete(:category_id) if (changes[:category_id].empty? or topic.category_id == changes[:category_id].to_i)
|
changes.delete(:category_id) if (changes[:category_id].blank? or topic.category_id == changes[:category_id].to_i)
|
||||||
|
|
||||||
success = true
|
success = true
|
||||||
if changes.length > 0
|
if changes.length > 0
|
||||||
|
Reference in New Issue
Block a user