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

33_readingsGroup.pm: fixed uninitialized value warning

git-svn-id: https://svn.fhem.de/fhem/trunk@8227 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-03-16 20:08:03 +00:00
parent f5459e4359
commit 959dc1cee2

View File

@ -336,6 +336,8 @@ lookup2($$$$;$$)
$lookup = $vf;
}
return undef if( !defined($lookup) );
if( !ref($lookup) && $lookup =~ m/^{.*}$/) {
my $DEVICE = $name;
my $READING = $reading;