* luci-0.8: merge r3712
This commit is contained in:
parent
cfdfa4ea1a
commit
4dfa176aad
1 changed files with 1 additions and 7 deletions
|
@ -378,12 +378,6 @@ function UVL._validate_option( self, option, nodeps )
|
||||||
return false, option:error(ERR.OPT_RANGE(option))
|
return false, option:error(ERR.OPT_RANGE(option))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if option:scheme('max_nil') then
|
|
||||||
if v and (not w or w > tonumber(option:scheme('max_nil'))) then
|
|
||||||
return false, option:error(ERR.OPT_RANGE(option))
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue