Fixed incompatible APIs in CBI
This commit is contained in:
parent
11bcdfd91a
commit
a3fcd87a71
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ function SimpleForm.field(self, class, ...)
|
||||||
end
|
end
|
||||||
|
|
||||||
if instanceof(class, AbstractValue) then
|
if instanceof(class, AbstractValue) then
|
||||||
local obj = class(self, ...)
|
local obj = class(self, section, ...)
|
||||||
obj.track_missing = true
|
obj.track_missing = true
|
||||||
section:append(obj)
|
section:append(obj)
|
||||||
return obj
|
return obj
|
||||||
|
|
Loading…
Reference in a new issue