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 9954795343
commit fb2859100e

View File

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