core: global environment cleanup

This commit is contained in:
Road-block
2019-03-31 14:59:21 +02:00
committed by shagu
parent 9ecafee7d5
commit e50fabfff9
15 changed files with 25 additions and 23 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ pfUI:RegisterModule("addonbuttons", function ()
local function TablePartialMatch(table, needle)
for i,v in ipairs(table) do
pos_start, pos_end = strfind(strlower(needle), strlower(v))
local pos_start, pos_end = strfind(strlower(needle), strlower(v))
if pos_start == 1 then
return i
end