Use ClassicAPI.strsplit for pfUI's strsplit

This commit is contained in:
Brues
2026-10-31 15:33:13 -05:00
parent 2d5cf94ae1
commit 217b00e9a4
3 changed files with 7 additions and 29 deletions
+1 -1
View File
@@ -1303,7 +1303,7 @@ pfUI:RegisterModule("equipmentmanager", function()
local function InForm(value)
local formID = GetShapeshiftFormID() or 0
if value == "any" then return formID ~= 0 end
for _, id in ipairs({ strsplit(",", value) }) do
for _, id in ipairs({ strsplit(",", value or "") }) do
if tonumber(id) == formID then return true end
end
return false