2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

01_FHEMWEB.pm: Special feature: ignore hiddenroom if its defaultRoom (Forum #92433)

git-svn-id: https://svn.fhem.de/fhem/trunk@17622 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-10-26 18:24:05 +00:00
parent 253668aa7a
commit 38eda9e339

View File

@ -1821,7 +1821,9 @@ FW_sortIndex($)
sub
FW_showRoom()
{
return 0 if(!$FW_room || $FW_hiddenroom{$FW_room});
return 0 if(!$FW_room ||
($FW_hiddenroom{$FW_room} &&
AttrVal($FW_wname, "defaultRoom", "") ne $FW_room)); #92433
%FW_hiddengroup = ();
foreach my $r (split(",",AttrVal($FW_wname, "hiddengroup", ""))) {