From 8d85fa2af063a4b8d3cd2062be82272c4d78b9c7 Mon Sep 17 00:00:00 2001 From: Antonio Lobato Date: Tue, 19 Mar 2024 15:44:35 -0700 Subject: [PATCH] Fixed a bug with 10.2.6 startup --- AdiBags.toc | 2 +- AdiBags_Config/AdiBags_Config.toc | 2 +- core/Filters.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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")