2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 11:26:55 +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:
justme-1968 2015-06-19 11:51:00 +00:00
parent 64b610fef9
commit 76aa7e3fc1

View File

@ -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";