mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +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:
parent
253668aa7a
commit
38eda9e339
@ -1821,7 +1821,9 @@ FW_sortIndex($)
|
|||||||
sub
|
sub
|
||||||
FW_showRoom()
|
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 = ();
|
%FW_hiddengroup = ();
|
||||||
foreach my $r (split(",",AttrVal($FW_wname, "hiddengroup", ""))) {
|
foreach my $r (split(",",AttrVal($FW_wname, "hiddengroup", ""))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user