2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-20 07:16:03 +00:00

01_FHEMWEB.pm: Check for allowed in doDetail (Forum #111497)

git-svn-id: https://svn.fhem.de/fhem/trunk@22024 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-05-24 19:00:01 +00:00
parent 21ff6c452e
commit 1ac3dfbe88

View File

@ -1455,7 +1455,7 @@ FW_doDetail($)
my ($d) = @_;
return if($FW_hiddenroom{detail});
return if(!defined($defs{$d}));
return if(!defined($defs{$d}) || !devspec2array($d,$FW_chash));#check allowed
my $h = $defs{$d};
my $t = $h->{TYPE};
$t = "MISSING" if(!defined($t));