diff options
author | Steven Barth <steven@midlink.org> | 2009-07-30 16:58:37 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-07-30 16:58:37 +0000 |
commit | 2561ed9b7ad5330e8af97047ef420f9bc0b413d0 (patch) | |
tree | cb724d41c85ce0cede6050e95844f7d4ba9beaea /libs | |
parent | d7a90e994a1aa214e881c06e7e5d0a3f272a63ce (diff) |
Fix errorhandling in Delegators
Diffstat (limited to 'libs')
-rw-r--r-- | libs/cbi/luasrc/cbi.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index 3a687e5aa5..db76e3b92f 100644 --- a/libs/cbi/luasrc/cbi.lua +++ b/libs/cbi/luasrc/cbi.lua @@ -578,8 +578,11 @@ function Delegator.parse(self, ...) else newcurrent = self:get_next(self.current) end + elseif stat < FORM_PROCEED then + return stat end + if not Map.formvalue(self, "cbi.submit") then return FORM_NODATA elseif not newcurrent or not self:get(newcurrent) then |