mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
commit
6856c0a511
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class TopicsController < ApplicationController
|
|||
end
|
||||
|
||||
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
|
||||
if changes.length > 0
|
||||
|
|
Loading…
Reference in a new issue