From 6a6e49accde32a81c996fba839ceabe34e796738 Mon Sep 17 00:00:00 2001 From: uzsolt Date: Sun, 11 Nov 2012 15:01:02 +0100 Subject: [PATCH] fix awful.util.table.join if first arg is null (#1052) Signed-off-by: Uli Schlachter --- lib/awful/util.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/util.lua.in b/lib/awful/util.lua.in index ee11d628e..e730cd742 100644 --- a/lib/awful/util.lua.in +++ b/lib/awful/util.lua.in @@ -336,7 +336,7 @@ end -- @return A new table containing all keys from the arguments. function util.table.join(...) local ret = {} - for i, t in ipairs({...}) do + for i, t in pairs({...}) do if t then for k, v in pairs(t) do if type(k) == "number" then