diff options
-rw-r--r-- | libs/cbi/luasrc/cbi.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index d19e0eb73..d24fa6ad0 100644 --- a/libs/cbi/luasrc/cbi.lua +++ b/libs/cbi/luasrc/cbi.lua @@ -769,6 +769,7 @@ end -- Removes the section function AbstractSection.remove(self, section) + self.map.autoapply = false return self.map:del(section) end @@ -795,6 +796,8 @@ function AbstractSection.create(self, section) end end + self.map.autoapply = false + return stat end |