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 1d878e8042
commit e07f2e6503

View File

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