98_autocreate.pm: fix warning for ignoretypes/featurelevel>5.8

git-svn-id: https://svn.fhem.de/fhem/trunk@17684 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2018-11-05 15:52:53 +00:00
parent 5a8e8e783d
commit 89d1cb81a0

View File

@@ -131,7 +131,7 @@ autocreate_Notify($$)
my ($name, $type, $arg) = ($1, $2, $3);
next if(AttrVal($me, "disable", undef));
my $it = AttrVal($me, "ignoreTypes", undef);
my $it = AttrVal($me, "ignoreTypes", "");
$it = "^$it\$" if($featurelevel > 5.8); # Forum #80775
next if($it && $name =~ m/$it/i);