mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 13:26:02 +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:
parent
21ff6c452e
commit
1ac3dfbe88
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user