applications/luci-statistics: cope with uci list values, thanks Bluse for reporting this
This commit is contained in:
parent
c66a688f8b
commit
0a96f6de35
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue