From 850690596f42b1c710d00c132ad1f994ff0bfc7a Mon Sep 17 00:00:00 2001 From: Toks Date: Sun, 31 Mar 2013 08:20:05 -0400 Subject: [PATCH] fixes #1119 --- app/models/tag.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/tag.rb b/app/models/tag.rb index c4ce0517a..386aa2124 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -139,7 +139,7 @@ class Tag < ActiveRecord::Base if category category_id = categories.value_for(category) - if category_id != tag.category && CurrentUser.is_builder? + if category_id != tag.category && (CurrentUser.is_builder? || tag.post_count <= 100 ) tag.update_column(:category, category_id) tag.update_category_cache_for_all end