diff --git a/app/models/tag.rb b/app/models/tag.rb index d9602126f..22af2a183 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -406,7 +406,7 @@ class Tag < ActiveRecord::Base q = q.where("category = ?", params[:category]) end - if params[:hide_empty] == "yes" + if params[:hide_empty] != "no" q = q.where("post_count > 0") end