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:
parent
f679566a66
commit
0fb1aed001
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user