projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11bcdfd
)
Fixed incompatible APIs in CBI
author
Steven Barth
<steven@midlink.org>
Wed, 27 Aug 2008 22:02:38 +0000
(22:02 +0000)
committer
Steven Barth
<steven@midlink.org>
Wed, 27 Aug 2008 22:02:38 +0000
(22:02 +0000)
libs/cbi/luasrc/cbi.lua
patch
|
blob
|
history
diff --git
a/libs/cbi/luasrc/cbi.lua
b/libs/cbi/luasrc/cbi.lua
index 12bf18c2adfc9be39ee0269537814e50957d863b..a43809d2cbb77db252530eccb8e9de5921fa196c 100644
(file)
--- 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