libs/uci: fix bug in property_bool() of luci.model.uci.bind class
This commit is contained in:
parent
392bfd38f8
commit
936d82ea5a
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ function bsection.property_bool(self, k, n)
|
|||
if val == nil then
|
||||
return bind:bool(c:get(k, c.sid))
|
||||
else
|
||||
return c:set(k, self.bind:bool(val) and "1" or "0", c.sid)
|
||||
return c:set(k, bind:bool(val) and "1" or "0", c.sid)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue