2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

fhem.pl: Fix "no TYPE" bug in getAllSets (Forum #27546)

git-svn-id: https://svn.fhem.de/fhem/trunk@12936 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-01-02 19:59:04 +00:00
parent 6def5cb5b3
commit 559c2d13c9

View File

@ -2437,6 +2437,7 @@ sub
getAllSets($) getAllSets($)
{ {
my $d = shift; my $d = shift;
return "" if(!$defs{$d}); # Just safeguarding
if(AttrVal("global", "apiversion", 1)> 1) { if(AttrVal("global", "apiversion", 1)> 1) {
my @setters= getSetters($defs{$d}); my @setters= getSetters($defs{$d});