diff options
-rw-r--r-- | util/dataforms.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/dataforms.lua b/util/dataforms.lua index 64f73c11..6152c9f3 100644 --- a/util/dataforms.lua +++ b/util/dataforms.lua @@ -155,7 +155,7 @@ function form_t.data(layout, stanza) if field.required then errors[field.name] = "Required value missing"; end - else + elseif field.name then present[field.name] = true; local reader = field_readers[field.type]; if reader then |