luci/applications/luci-app-samba4
Jo-Philipp Wich 81f41819a5 luci-app-samba4: prevent calling split() on array or null values
Since `uci.get()` may return null or array values, we cannot blindly call
split() on the result. Use the safe `L.toArray()` helper which is intended
to deal with such situations.

Also clean up whitespace while we're at.

Fixes: #5080
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit c4cdfcbe51)
2021-05-31 11:27:48 +02:00
..
htdocs/luci-static/resources/view luci-app-samba4: prevent calling split() on array or null values 2021-05-31 11:27:48 +02:00
po treewide: backport i18n translations from master 2021-05-26 19:11:37 +03:00
root/usr/share treewide: add ACL annotations to menu entries 2020-04-17 12:40:31 +02:00
Makefile luci-app-samba4: switch to luci static javascript api 2019-11-22 13:58:33 +01:00