mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
33_readingsGroup.pm: fixed 'Variable will not stay shared' message
git-svn-id: https://svn.fhem.de/fhem/trunk@8777 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
64b610fef9
commit
76aa7e3fc1
@ -1336,12 +1336,13 @@ readingsGroup_Notify($$)
|
||||
foreach my $trigger (keys %triggers) {
|
||||
DoTrigger( $name, "$trigger: $triggers{$trigger}" );
|
||||
|
||||
my $count = 0;
|
||||
our $count = 0;
|
||||
sub updateRefs($$);
|
||||
sub
|
||||
updateRefs($$)
|
||||
{
|
||||
my( $hash, $refs ) = @_;
|
||||
my $name = $hash->{NAME};
|
||||
|
||||
if( ++$count > 20 ) {
|
||||
Log3 $name, 2, "$name: recursionDetected: $refs";
|
||||
|
Loading…
x
Reference in New Issue
Block a user