diff options
-rw-r--r-- | libs/uci/luasrc/model/uci/bind.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/uci/luasrc/model/uci/bind.lua b/libs/uci/luasrc/model/uci/bind.lua index c189b8fc59..9472dabebb 100644 --- a/libs/uci/luasrc/model/uci/bind.lua +++ b/libs/uci/luasrc/model/uci/bind.lua @@ -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 |