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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user