diff --git a/lib/gears/table.lua b/lib/gears/table.lua index 54ceab4b..8b9bb6c2 100644 --- a/lib/gears/table.lua +++ b/lib/gears/table.lua @@ -18,7 +18,7 @@ local gtable = {} -- @return A new table containing all keys from the arguments. function gtable.join(...) local ret = {} - for _, t in pairs({...}) do + for _, t in ipairs({...}) do if t then for k, v in pairs(t) do if type(k) == "number" then