From c282eb4dc153e437931e8bcc08c4d2dbef1d2261 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Fri, 4 Jul 2008 14:39:44 +0000 Subject: Added generic form lsp file. A few updates to library functions and lsp files. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1275 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lib/controllerfunctions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/controllerfunctions.lua') 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) -- cgit v1.2.3