luci/modules/luci-base
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
..
htdocs
luasrc uci:get_list: always return a table, no matter what. 2015-09-02 15:28:02 +00:00
po Update base.po 2015-06-17 16:06:20 +02:00
root
src
Makefile