From: Steven Barth Date: Wed, 5 Nov 2008 21:12:26 +0000 (+0000) Subject: Fix error handling for SimpleForms X-Git-Tag: 0.9.0~1007 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9f28871ffcd8a59bc372059fe7db30eddba376ed;p=oweals%2Fluci.git Fix error handling for SimpleForms --- diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index c1e4a7650..db360cbbd 100644 --- a/libs/cbi/luasrc/cbi.lua +++ b/libs/cbi/luasrc/cbi.lua @@ -568,6 +568,7 @@ function SimpleForm.parse(self, readinput, ...) valid = valid and (not v.tag_missing or not v.tag_missing[1]) and (not v.tag_invalid or not v.tag_invalid[1]) + and (not v.error) end end