projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25da62f
)
Fixed last commit
author
Steven Barth
<steven@midlink.org>
Sat, 7 Mar 2009 16:28:27 +0000
(16:28 +0000)
committer
Steven Barth
<steven@midlink.org>
Sat, 7 Mar 2009 16:28:27 +0000
(16:28 +0000)
libs/web/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/dispatcher.lua
b/libs/web/luasrc/dispatcher.lua
index 483b7b276c58e05f97f74af63825e4c20682c2d5..062084f86ad2506456cd5eadbcc27c1751aea187 100644
(file)
--- a/
libs/web/luasrc/dispatcher.lua
+++ b/
libs/web/luasrc/dispatcher.lua
@@
-639,7
+639,7
@@
local function _cbi(self, ...)
res.autoapply = config.autoapply
end
local cstate = res:parse()
- if cstate and
not state or cstate < state
then
+ if cstate and
(not state or cstate < state)
then
state = cstate
end
end
@@
-709,7
+709,7
@@
local function _form(self, ...)
for i, res in ipairs(maps) do
local cstate = res:parse()
- if cstate and
not state or cstate < state
then
+ if cstate and
(not state or cstate < state)
then
state = cstate
end
end