2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-12 22:56:34 +00:00

fhem.pl: add $NAME for evals in eventMap (Forum #43023)

git-svn-id: https://svn.fhem.de/fhem/trunk@10769 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-02-08 12:11:51 +00:00
parent 53e3872e38
commit fd53adcf1b

View File

@ -3621,6 +3621,7 @@ ReplaceEventMap2($$$)
$nv = $emh->{$k};
} elsif($nstr =~ m/$k/) {
my $NAME = $dev; # Compatibility, Forum #43023
$nv = eval '"'.$emh->{$k}.'"';
}