summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-27 22:02:38 +0000
committerSteven Barth <steven@midlink.org>2008-08-27 22:02:38 +0000
commita3fcd87a7188f7b2986a8e741c53e8def587ce29 (patch)
treeda3efbd5348c493f026fc8653da272ebb2f6d862 /libs
parent11bcdfd91aab8976c8f3e6bd6ca2fa0c45956adf (diff)
Fixed incompatible APIs in CBI
Diffstat (limited to 'libs')
-rw-r--r--libs/cbi/luasrc/cbi.lua2
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