summaryrefslogtreecommitdiffstats
path: root/tinydns-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-06-24 15:57:16 +0000
committerTed Trask <ttrask01@yahoo.com>2008-06-24 15:57:16 +0000
commit730ed35b2cb4e9c9d4e53012e0fcd9b40644198e (patch)
tree2a6728632dddee28020c8f78b0df6d3e975e0ed4 /tinydns-controller.lua
parente5b81fd75226b70136264addc95e30cecffce444 (diff)
downloadacf-tinydns-730ed35b2cb4e9c9d4e53012e0fcd9b40644198e.tar.bz2
acf-tinydns-730ed35b2cb4e9c9d4e53012e0fcd9b40644198e.tar.xz
Removed debug log output from acf_www.
Fixed minor bug in tinydns. git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1255 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'tinydns-controller.lua')
-rw-r--r--tinydns-controller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinydns-controller.lua b/tinydns-controller.lua
index c97bca2..dd567c5 100644
--- a/tinydns-controller.lua
+++ b/tinydns-controller.lua
@@ -108,7 +108,7 @@ function edit(self)
config = self.model.get_filedetails(self.clientdata.filename)
config.descr = "Saved file"
end
- elseif validator.is_integer(self.clientdata.linenumber) then
+ elseif self.clientdata.linenumber and validator.is_integer(self.clientdata.linenumber) then
config.value.filecontent.linenumber = self.clientdata.linenumber
end