diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2017-05-10 19:06:10 +0300 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2017-05-10 19:15:52 +0300 |
commit | d04f667383ec2894a5ecefde7ad9284d07563a67 (patch) | |
tree | 8a4f9972b303145dfb231622ddfcd86748d02009 /applications/luci-app-statistics/po/de/statistics.po | |
parent | 3de3b75af46beb583fd7ac437dce57f41d355f22 (diff) |
luci-app-statistics: check that uci config sections exist
A missing or faulty luci_statistics config file may prevent
LuCI access completely already at the login phase as
the statistics config is parsed already then.
The error is like:
.../statistics/datatree.lua:16: attempt to index upvalue 'sections' (a nil value)
User may be completely locked out of LuCI until he figures out
the need to have a proper luci_statistics config file.
Prevent the error by checking for the existence of
the uci config sections before trying to use values from them.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-statistics/po/de/statistics.po')
0 files changed, 0 insertions, 0 deletions