build is failing :fired:
This commit is contained in:
parent
605ae8a1a3
commit
4e4bb736a8
|
@ -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 New Issue