luci/applications/luci-app-samba4/htdocs/luci-static/resources/view
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
..
samba4.js luci-app-samba4: prevent calling split() on array or null values 2021-05-31 11:27:48 +02:00