diff options
author | Lars Kruse <lists@sumpfralle.de> | 2018-04-07 18:05:51 +0200 |
---|---|---|
committer | Lars Kruse <lists@sumpfralle.de> | 2019-08-02 22:31:03 +0200 |
commit | 7863ff72724bbb84831d595ef60405072713c379 (patch) | |
tree | a3b10859cebf177933e247215f9c9b08afe5f309 /modules/luci-mod-system/htdocs | |
parent | 07dbee37f858b93c10fe5114fbe55e36ddb0d654 (diff) |
luci-app-olsr: handle empty result for non-status tables
The response of the jsoninfo request may be non-empty (e.g. a linebreak
or just whitespace), but still yield "nil" after "json.decode".
This situation was already handled for the "status" request, but it
leads to a dictionary access against a "nil" value for all other tables.
Signed-off-by: Lars Kruse <lists@sumpfralle.de>
Diffstat (limited to 'modules/luci-mod-system/htdocs')
0 files changed, 0 insertions, 0 deletions