luci/modules/luci-base/luasrc/model
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/admin_network Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
firewall.lua Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
ipkg.lua Luci opkg/packages: Limit version string display to 26 chars 2015-09-01 22:45:17 +03:00
ipkg.luadoc Fix module lines in several luadoc files 2015-09-01 16:43:19 +02:00
network.lua Fix: Status for disabled wireless networks may display the SSID, BSSID and Mode of an active network on the same radio. 2015-07-27 11:37:09 +02:00
uci.lua uci:get_list: always return a table, no matter what. 2015-09-02 15:28:02 +00:00
uci.luadoc uci:get_list: always return a table, no matter what. 2015-09-02 15:28:02 +00:00