diff options
author | Steven Barth <steven@midlink.org> | 2008-08-27 22:02:38 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-27 22:02:38 +0000 |
commit | a3fcd87a7188f7b2986a8e741c53e8def587ce29 (patch) | |
tree | da3efbd5348c493f026fc8653da272ebb2f6d862 /libs | |
parent | 11bcdfd91aab8976c8f3e6bd6ca2fa0c45956adf (diff) |
Fixed incompatible APIs in CBI
Diffstat (limited to 'libs')
-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 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 |