luci/modules/luci-base/luasrc
Karl Palsson 03786ed853 uci:get_list: always return a table, no matter what.
Previously, get_list("fake", "non-existent", "notreal") would still
return a table, just empty.  This is nice, as you can always iterate the
returned table, without having to check it first.

However, if you happened to pass a nil for any of the parameters, you
would actually get a nil in return.  This was inconsistent.

The documentation is updated to clarify the behaviour of this function.

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-09-02 15:28:02 +00:00
..
cbi
controller/admin
http http.protocol: Support filehandlers for unhandled encodings 2015-08-18 17:52:48 +02:00
model uci:get_list: always return a table, no matter what. 2015-09-02 15:28:02 +00:00
sgi
sys Timezone information: update to 2015f 2015-08-17 22:53:11 +03:00
tools
view
cacheloader.lua
cbi.lua cbi.lua: Fix Flag.parse() to set "self.section.changed" 2015-08-02 07:06:42 +02:00
ccache.lua
config.lua
debug.lua
dispatcher.lua
dispatcher.luadoc
http.lua
http.luadoc Fix module lines in several luadoc files 2015-09-01 16:43:19 +02:00
i18n.lua
i18n.luadoc
ltn12.lua
store.lua
sys.lua
sys.luadoc Fix module lines in several luadoc files 2015-09-01 16:43:19 +02:00
template.lua
util.lua
util.luadoc Fix module lines in several luadoc files 2015-09-01 16:43:19 +02:00
version.lua