diff options
author | Steven Barth <steven@midlink.org> | 2008-08-14 19:01:36 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-14 19:01:36 +0000 |
commit | 15e2e16c6d81633d0dede30e7411e6b224998029 (patch) | |
tree | 37d4ca0fc8ba728e9c8a549798303edc43ee4516 /libs/cbi/luasrc/cbi.lua | |
parent | d915e6e1d7421f366ca61bf081b6ca0d29945ec1 (diff) |
Converted password change form to CBI model
Diffstat (limited to 'libs/cbi/luasrc/cbi.lua')
-rw-r--r-- | libs/cbi/luasrc/cbi.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index 8816b11b7..3b5a7c1b7 100644 --- a/libs/cbi/luasrc/cbi.lua +++ b/libs/cbi/luasrc/cbi.lua @@ -653,7 +653,7 @@ function AbstractValue.parse(self, section) local cvalue = self:cfgvalue(section) if fvalue and fvalue ~= "" then -- If we have a form value, write it to UCI - fvalue = self:transform(self:validate(fvalue)) + fvalue = self:transform(self:validate(fvalue, section)) if not fvalue then self.tag_invalid[section] = true end |