Fix incorrect method usage.
This commit is contained in:
parent
f534f041a0
commit
ae1d6e7421
|
@ -969,7 +969,7 @@ SQL
|
|||
topic_status_update.based_on_last_post = !based_on_last_post.blank?
|
||||
|
||||
if status_type == TopicStatusUpdate.types[:publish_to_category]
|
||||
topic_status_update.category = Category.find_by(category_id)
|
||||
topic_status_update.category = Category.find_by(id: category_id)
|
||||
end
|
||||
|
||||
if topic_status_update.based_on_last_post
|
||||
|
|
Loading…
Reference in New Issue