projects
/
oweals
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Fixed haserl-lua Makefile
[oweals/luci.git]
/
src
/
ffluci
/
cbi.lua
diff --git
a/src/ffluci/cbi.lua
b/src/ffluci/cbi.lua
index d89405516835bc326b33eab8b201436ad7176316..5bc40499c827aeecee7942fb00b6c5d6d68e3b33 100644
(file)
--- a/
src/ffluci/cbi.lua
+++ b/
src/ffluci/cbi.lua
@@
-111,6
+111,9
@@
function Map.__init__(self, config, ...)
if not self.ucidata then
error("Unable to read UCI data: " .. self.config)
else
+ if not self.ucidata[self.config] then
+ self.ucidata[self.config] = {}
+ end
self.ucidata = self.ucidata[self.config]
end
end