mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
fhem.pl: fix eventMap off:0 (Forum #40113)
git-svn-id: https://svn.fhem.de/fhem/trunk@9091 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
86c5755d7f
commit
bc39637be4
@ -3382,7 +3382,7 @@ ReplaceEventMap($$$)
|
||||
|
||||
return $str if($dir && !$em);
|
||||
return @{$str} if(!$dir && (!$em || int(@{$str}) < 2 ||
|
||||
!$str->[1] || $str->[1] eq "?"));
|
||||
!defined($str->[1]) || $str->[1] eq "?"));
|
||||
|
||||
return ReplaceEventMap2($dev, $str, $dir, $em) if($em =~ m/^{.*}$/);
|
||||
my @emList = attrSplit($em);
|
||||
|
Loading…
x
Reference in New Issue
Block a user