Fix error handling for SimpleForms

This commit is contained in:
Steven Barth 2008-11-05 21:12:26 +00:00
parent ba689499bb
commit 9f28871ffc

View file

@ -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