diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-03 22:02:35 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-03 22:02:35 +0000 |
commit | 85461e4226f3e5b3828324a3a4b743dbc88812f2 (patch) | |
tree | 4a2c693c2ab135a34d669ecf9777d53231d8e475 /libs/uvl/luasrc/uvl.lua | |
parent | 727e9878fb00f545c0cd1b0130e789a5764eee3b (diff) |
* luci/libs/uvl: fix error handling of OPT_INVVALUE too
Diffstat (limited to 'libs/uvl/luasrc/uvl.lua')
-rw-r--r-- | libs/uvl/luasrc/uvl.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/uvl/luasrc/uvl.lua b/libs/uvl/luasrc/uvl.lua index 007a37dbc..b1d481062 100644 --- a/libs/uvl/luasrc/uvl.lua +++ b/libs/uvl/luasrc/uvl.lua @@ -321,7 +321,7 @@ function UVL._validate_option( self, option, nodeps ) for i, v in ipairs(val) do if not self.datatypes[dt]( v ) then return false, option:error( - ERR.OPT_INVVALUE(option, dt) + ERR.OPT_INVVALUE(option, { v, dt }) ) end end |