Fixed last commit
This commit is contained in:
parent
25da62f8ff
commit
30b7bc7c62
1 changed files with 2 additions and 2 deletions
|
@ -639,7 +639,7 @@ local function _cbi(self, ...)
|
||||||
res.autoapply = config.autoapply
|
res.autoapply = config.autoapply
|
||||||
end
|
end
|
||||||
local cstate = res:parse()
|
local cstate = res:parse()
|
||||||
if cstate and not state or cstate < state then
|
if cstate and (not state or cstate < state) then
|
||||||
state = cstate
|
state = cstate
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -709,7 +709,7 @@ local function _form(self, ...)
|
||||||
|
|
||||||
for i, res in ipairs(maps) do
|
for i, res in ipairs(maps) do
|
||||||
local cstate = res:parse()
|
local cstate = res:parse()
|
||||||
if cstate and not state or cstate < state then
|
if cstate and (not state or cstate < state) then
|
||||||
state = cstate
|
state = cstate
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue