diff --git a/ElvUI_Config/Libraries/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua b/ElvUI_Config/Libraries/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua index 89f13e0..368e93f 100644 --- a/ElvUI_Config/Libraries/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua +++ b/ElvUI_Config/Libraries/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua @@ -942,18 +942,18 @@ local function BuildTabs(group, options, path, appName) BuildSortedOptionsTable(group, keySort, opts, options, path, appName) - for i = 1, #keySort do + for i = 1, getn(keySort) do local k = keySort[i] local v = opts[k] if v.type == "group" then - path[#path+1] = k + path[getn(path)+1] = k local inline = pickfirstset(v.dialogInline,v.guiInline,v.inline, false) local hidden = CheckOptionHidden(v, options, path, appName) if not inline and not hidden then tinsert(tabs, k) text[k] = GetOptionsMemberValue("name", v, options, path, appName) end - path[#path] = nil + path[getn(path)] = nil end end diff --git a/README.md b/README.md index 564d13e..a8052dc 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ # This repository is actively being fixed and maintained by Bluewhale. ## Changelog +- **Fix:** Fixed a Lua 5.0 syntax error in `AceConfigDialog-3.0.lua` where the `#` length operator was used instead of `table.getn`, preventing ElvUI_Config from loading. - **Fix:** Fixed nil ID formatting crash in Tooltip's SetHyperlink. - **Fix:** Removed implicit `arg` table memory leaks in high-frequency oUF element updates by replacing varargs (`...`) with static parameters. - **Fix:** Corrected bug in `Auras.lua` where unused buff icons remained visible on screen due to improper `deadIndex` calculation.