fixes #116: tag category expiration bugs
This commit is contained in:
@@ -95,8 +95,8 @@ class Tag < ActiveRecord::Base
|
|||||||
|
|
||||||
if tag
|
if tag
|
||||||
if category > 0
|
if category > 0
|
||||||
tag.update_category_cache
|
|
||||||
tag.update_column(:category, category)
|
tag.update_column(:category, category)
|
||||||
|
tag.update_category_cache
|
||||||
end
|
end
|
||||||
|
|
||||||
tag
|
tag
|
||||||
|
|||||||
Reference in New Issue
Block a user