01_FHEMWEB.pm: do not enable HTTPS for 0 (Forum #98816)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19148 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-04-08 12:24:10 +00:00
parent 0d29f06200
commit 8b08b7c0bf

View File

@ -2676,7 +2676,7 @@ FW_Attr(@)
my $sP = "stylesheetPrefix";
my $retMsg;
if($type eq "set" && $attrName eq "HTTPS") {
if($type eq "set" && $attrName eq "HTTPS" && $param[0]) {
TcpServer_SetSSL($hash);
}