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

fhem.pl: add $NAME to userReadings (Forum #53069)

git-svn-id: https://svn.fhem.de/fhem/trunk@11398 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-05-06 06:25:13 +00:00
parent f679566a66
commit 0fb1aed001

View File

@ -3920,6 +3920,7 @@ readingsEndUpdate($$)
my $oldt= $userReading->{t};
#Debug "Evaluating " . $reading;
$cmdFromAnalyze = $perlCode; # For the __WARN__ sub
my $NAME = $name; # no exceptions, #53069
my $value= eval $perlCode;
$cmdFromAnalyze = undef;
my $result;