2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-17 17:36:01 +00:00

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 ac01979220
commit 2069e8322a

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);