summaryrefslogtreecommitdiffstats
path: root/lib/controllerfunctions.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/controllerfunctions.lua')
-rw-r--r--lib/controllerfunctions.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/controllerfunctions.lua b/lib/controllerfunctions.lua
index 9c9af31..ee10a14 100644
--- a/lib/controllerfunctions.lua
+++ b/lib/controllerfunctions.lua
@@ -92,8 +92,8 @@ function handle_form(self, getFunction, setFunction, clientdata, option, label,
end
form.type = "form"
- form.option = option
- form.label = label
+ form.option = option or form.option
+ form.label = label or form.label
return form
end