From ecc9001093721f8fc8c53efc276c1142bdbcc4ff Mon Sep 17 00:00:00 2001 From: andrew6180 <16847730+andrew6180@users.noreply.github.com> Date: Thu, 6 Jun 2024 23:25:20 -0700 Subject: [PATCH] Fix details report, GetChannelList does not return disabled# in 3.3.5 --- frames/window_report.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frames/window_report.lua b/frames/window_report.lua index 96ed2b44..2ececa3d 100644 --- a/frames/window_report.lua +++ b/frames/window_report.lua @@ -309,7 +309,7 @@ local createDropdown = function(thisFrame) local channels = {GetChannelList()} --coloca o resultado em uma tabela .. {id1, canal1, id2, canal2} --09/august/2018: GetChannelList passed to return 3 values for each channel instead of 2 - for i = 1, #channels, 3 do --total de canais + for i = 1, #channels, 2 do --total de canais reportChannelsTable[#reportChannelsTable + 1] = {iconsize = iconsize, value = "CHANNEL|" .. channels[i+1], label = channels[i] .. ". " .. channels[i+1], onclick = onClick, icon = [[Interface\FriendsFrame\UI-Toast-ToastIcons]], texcoord = {0.3046875, 0.4453125, 0.109375, 0.390625}, iconcolor = {149/255, 112/255, 112/255}} end