This commit is contained in:
albert
2013-02-19 14:30:45 -05:00
parent d22dada727
commit 306ec47f03

View File

@@ -105,7 +105,7 @@ class Tag < ActiveRecord::Base
tag = find_by_name(name)
if tag
if category > 0
if category != tag.category
tag.update_column(:category, category)
tag.update_category_cache
end