Changeset 5166

Show
Ignore:
Timestamp:
07/29/09 05:36:07 (4 years ago)
Author:
jow
Message:

luci-0.9: merge r5165

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/branches/luci-0.9/libs/core/luasrc/util.lua

    r5164 r5166  
    5050        return a 
    5151    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 
    5253        return a:format(unpack(b)) 
    5354    else 
     55        if type(b) == "userdata" then b = tostring(b) end 
    5456        return a:format(b) 
    5557    end