summaryrefslogtreecommitdiffstats
path: root/interfaces-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-04-30 20:36:02 +0000
committerTed Trask <ttrask01@yahoo.com>2008-04-30 20:36:02 +0000
commitde2694e907a97dfb6a017509d2589c186dc56e72 (patch)
treed39a4a2e71007d25457a1d32fde55a18a634bc44 /interfaces-model.lua
parent3240695ed965b30d68d771b9d1f2139918c1b7fc (diff)
downloadacf-alpine-baselayout-de2694e907a97dfb6a017509d2589c186dc56e72.tar.bz2
acf-alpine-baselayout-de2694e907a97dfb6a017509d2589c186dc56e72.tar.xz
Modified cfe, removing option, errtxt, and name, and adding label - This may break things.
Rewrote password module, adding model Modified authenticator to make password module work git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'interfaces-model.lua')
-rw-r--r--interfaces-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/interfaces-model.lua b/interfaces-model.lua
index efc5ed9..57949a3 100644
--- a/interfaces-model.lua
+++ b/interfaces-model.lua
@@ -271,7 +271,7 @@ iface.validate = function ( def )
--
local rc = true
for k,v in pairs(def) do
- if #def[k].errtxt > 0 then result = false end
+ if def[k].errtxt then result = false end
end
return result, def