From: Steven Barth Date: Thu, 28 Aug 2008 16:16:51 +0000 (+0000) Subject: Fixed luci.util.dumptable X-Git-Tag: 0.8.0~265 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b3d63252e772f98a269a241c9f9f995f216efb84;p=oweals%2Fluci.git Fixed luci.util.dumptable --- diff --git a/libs/core/luasrc/util.lua b/libs/core/luasrc/util.lua index 14bd1e79b..2ede71a26 100644 --- a/libs/core/luasrc/util.lua +++ b/libs/core/luasrc/util.lua @@ -190,7 +190,7 @@ function dumptable(t, i, seen) seen = seen or setmetatable({}, {__mode="k"}) for k,v in pairs(t) do - perror(string.rep("\t", i) .. tostring(k), tostring(v)) + perror(string.rep("\t", i) .. tostring(k) .. "\t" .. tostring(v)) if type(v) == "table" then if not seen[v] then seen[v] = true