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