Changeset 5166
- Timestamp:
- 07/29/09 05:36:07 (4 years ago)
- Files:
-
- 1 modified
-
luci/branches/luci-0.9/libs/core/luasrc/util.lua (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
luci/branches/luci-0.9/libs/core/luasrc/util.lua
r5164 r5166 50 50 return a 51 51 elseif type(b) == "table" then 52 for k, _ in pairs(b) do if type(b[k]) == "userdata" then b[k] = tostring(b[k]) end end 52 53 return a:format(unpack(b)) 53 54 else 55 if type(b) == "userdata" then b = tostring(b) end 54 56 return a:format(b) 55 57 end
