diff --git a/AdiBags.toc b/AdiBags.toc index 531e856..606d246 100644 --- a/AdiBags.toc +++ b/AdiBags.toc @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with AdiBags. If not, see . -## Interface: 100107 +## Interface: 100206 ## Title: AdiBags ## Notes: Adirelle's bag addon. diff --git a/AdiBags_Config/AdiBags_Config.toc b/AdiBags_Config/AdiBags_Config.toc index 490f068..f90c3de 100644 --- a/AdiBags_Config/AdiBags_Config.toc +++ b/AdiBags_Config/AdiBags_Config.toc @@ -1,4 +1,4 @@ -## Interface: 100107 +## Interface: 100206 ## Title: AdiBags Configuration ## Notes: Adirelle's bag addon. diff --git a/core/Filters.lua b/core/Filters.lua index 0aef648..aa27f53 100644 --- a/core/Filters.lua +++ b/core/Filters.lua @@ -146,7 +146,7 @@ local safecall = addon.safecall function addon:Filter(slotData, defaultSection, defaultCategory) for i, filter in ipairs(GetActiveFilters()) do local sectionName, category = safecall(filter.Filter, filter, slotData) - if sectionName then + if sectionName and sectionName ~= "" then --@alpha@ assert(type(sectionName) == "string", "Filter "..filter.name.." returned "..type(sectionName).." as section name instead of a string") assert(category == nil or type(category) == "string", "Filter "..filter.name.." returned "..type(category).." as category instead of a string")