summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-11-06 18:32:07 +0000
committerSteven Barth <steven@midlink.org>2008-11-06 18:32:07 +0000
commitcaf05a86f3e95a7a008cd3171e88e5e55dd234d6 (patch)
tree783ace3f340b2f82ee87f40b18f1cf1d7d118d7b /libs/cbi/luasrc
parent42e79af68bb3f60440240532f2823ed1c27d7f64 (diff)
Workaround some Heisenbug
Diffstat (limited to 'libs/cbi/luasrc')
-rw-r--r--libs/cbi/luasrc/cbi.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua
index db360cbbd0..b37e213496 100644
--- a/libs/cbi/luasrc/cbi.lua
+++ b/libs/cbi/luasrc/cbi.lua
@@ -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