From 15e2e16c6d81633d0dede30e7411e6b224998029 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 14 Aug 2008 19:01:36 +0000 Subject: Converted password change form to CBI model --- libs/cbi/luasrc/cbi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/cbi/luasrc/cbi.lua') 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 -- cgit v1.2.3