applications/luci-statistics: cope with uci list values, thanks Bluse for reporting this

This commit is contained in:
Jo-Philipp Wich 2012-09-06 20:15:05 +00:00
parent c66a688f8b
commit 0a96f6de35

View file

@ -208,6 +208,13 @@ function _expand( s, n, nopad )
end
return str
elseif type(s) == "table" then
local str = ""
for i, v in ipairs(s) do
str = str .. _string( v, n, nopad )
end
end
end