Workaround some Heisenbug
authorSteven Barth <steven@midlink.org>
Thu, 6 Nov 2008 18:32:07 +0000 (18:32 +0000)
committerSteven Barth <steven@midlink.org>
Thu, 6 Nov 2008 18:32:07 +0000 (18:32 +0000)
libs/cbi/luasrc/cbi.lua

index db360cb..b37e213 100644 (file)
@@ -1197,7 +1197,7 @@ function AbstractValue.parse(self, section)
                                --luci.util.append(self.map.events, self.events)
                        end
                elseif cvalue ~= fvalue then
-                       self:write(section, fvalue)
+                       self:write(section, fvalue or "")
                        if self.error then
                                self.error[section] = "missing"
                        else