2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 04:36:36 +00:00

fhem.pl: add $ for the userreadings trigger (Forum #52165)

git-svn-id: https://svn.fhem.de/fhem/trunk@11243 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-04-15 17:00:47 +00:00
parent 338a0f3fda
commit a34f7afb86

View File

@ -3888,7 +3888,7 @@ readingsEndUpdate($$)
my $trigger = $userReading->{trigger};
if(defined($trigger)) {
my @fnd = grep { $_ && $_ =~ m/^$trigger/ } @{$hash->{CHANGED}};
my @fnd = grep { $_ && $_ =~ m/^$trigger$/ } @{$hash->{CHANGED}};
next if(!@fnd);
}