diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/controllerfunctions.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/controllerfunctions.lua b/lib/controllerfunctions.lua index c1461bc..ac2388e 100644 --- a/lib/controllerfunctions.lua +++ b/lib/controllerfunctions.lua @@ -18,7 +18,7 @@ function handle_clientdata(form, clientdata) clientdata[name] = actualval end if value.type == "boolean" then - value.value = (clientdata[name] ~= nil) + value.value = (clientdata[name] ~= nil) and (clientdata[name] ~= "false") elseif value.type == "multi" then if clientdata[name] == nil then -- for cli we use name[num] as the name |