diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/acf_www-controller.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua index 6a5f49c..7db5f39 100644 --- a/app/acf_www-controller.lua +++ b/app/acf_www-controller.lua @@ -565,6 +565,7 @@ logevent = function ( message ) end handle_clientdata = function(form, clientdata) + clientdata = clientdata or {} form.errtxt = nil for name,value in pairs(form.value) do value.errtxt = nil @@ -581,7 +582,7 @@ handle_clientdata = function(form, clientdata) end clientdata[name] = actualval end - if value.type == "group" then + if value.type == "group" and clientdata[name] then handle_clientdata(value, clientdata[name]) elseif value.type == "boolean" then --- HTML forms simply don't include checkboxes unless they're checked |