From: Daniel F. Dickinson Date: Thu, 17 Jan 2019 00:13:01 +0000 (-0500) Subject: luci-app-radicale2: Use http when not SSL X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F2462%2Fhead;p=oweals%2Fluci.git luci-app-radicale2: Use http when not SSL The test or whether we were using SSL often returned true even when using HTTP only, therefore fix the test. Signed-off-by: Daniel F. Dickinson --- diff --git a/applications/luci-app-radicale2/luasrc/view/cbi/raduigo.htm b/applications/luci-app-radicale2/luasrc/view/cbi/raduigo.htm index 2f449d7b0..1bcf388bd 100644 --- a/applications/luci-app-radicale2/luasrc/view/cbi/raduigo.htm +++ b/applications/luci-app-radicale2/luasrc/view/cbi/raduigo.htm @@ -1,7 +1,7 @@ <% local uci = require "luci.model.uci".cursor() local http_port = uci:get("radicale2", "server", "host") -local usessl = uci:get("radicale2", "server", "ssl") +local usessl = uci:get_bool("radicale2", "server", "ssl") if type(http_port) == "table" then http_port = http_port[1] end