summaryrefslogtreecommitdiffhomepage
path: root/libs/core
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-28 16:16:51 +0000
committerSteven Barth <steven@midlink.org>2008-08-28 16:16:51 +0000
commitb3d63252e772f98a269a241c9f9f995f216efb84 (patch)
tree48332178ad543bb1d7ffd8e271295ca651b679ce /libs/core
parentba22660cb82d0f34bc1080c1fcfec539ef3634eb (diff)
Fixed luci.util.dumptable
Diffstat (limited to 'libs/core')
-rw-r--r--libs/core/luasrc/util.lua2
1 files changed, 1 insertions, 1 deletions
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