From: Steven Barth Date: Wed, 27 Aug 2008 22:02:38 +0000 (+0000) Subject: Fixed incompatible APIs in CBI X-Git-Tag: 0.8.0~273 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a3fcd87a7188f7b2986a8e741c53e8def587ce29;p=oweals%2Fluci.git Fixed incompatible APIs in CBI --- diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index 12bf18c2a..a43809d2c 100644 --- a/libs/cbi/luasrc/cbi.lua +++ b/libs/cbi/luasrc/cbi.lua @@ -343,7 +343,7 @@ function SimpleForm.field(self, class, ...) end if instanceof(class, AbstractValue) then - local obj = class(self, ...) + local obj = class(self, section, ...) obj.track_missing = true section:append(obj) return obj