fixes #430
This commit is contained in:
@@ -105,7 +105,7 @@ class Tag < ActiveRecord::Base
|
|||||||
tag = find_by_name(name)
|
tag = find_by_name(name)
|
||||||
|
|
||||||
if tag
|
if tag
|
||||||
if category > 0
|
if category != tag.category
|
||||||
tag.update_column(:category, category)
|
tag.update_column(:category, category)
|
||||||
tag.update_category_cache
|
tag.update_category_cache
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user