diff options
author | Steven Barth <steven@midlink.org> | 2008-09-07 21:22:39 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-07 21:22:39 +0000 |
commit | d8282d382bc675eb1c930eed0fe65c41050400b8 (patch) | |
tree | 8a66bd056d4e92b31366dbe70f96b0d29481919c /modules/admin-full | |
parent | a8c64ef3b09e8d64ae1c0497b9b852a0d98fdf64 (diff) |
libs/cbi: Catch errors while creating named sections
Diffstat (limited to 'modules/admin-full')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/network.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/network.lua b/modules/admin-full/luasrc/model/cbi/admin_network/network.lua index fce84fe3f4..dab4bb873a 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/network.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/network.lua @@ -33,6 +33,8 @@ end function s.create(self, section) if TypedSection.create(self, section) then created = section + else + self.invalid_cts = true end end |