summaryrefslogtreecommitdiffstats
path: root/lib/controllerfunctions.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/controllerfunctions.lua')
-rw-r--r--lib/controllerfunctions.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/controllerfunctions.lua b/lib/controllerfunctions.lua
index 298eac6..ec62fee 100644
--- a/lib/controllerfunctions.lua
+++ b/lib/controllerfunctions.lua
@@ -21,7 +21,7 @@ function handle_form(self, getFunction, setFunction, clientdata, option, label,
end
end
form = setFunction(form)
- if not form.errtxt then
+ if not form.errtxt and descr then
form.descr = descr
end
form = self:redirect_to_referrer(form)