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

33_readingsGroup.pm: fixed undefined warning

git-svn-id: https://svn.fhem.de/fhem/trunk@8980 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-07-26 08:03:43 +00:00
parent 923bd729b1
commit cf68bf183e

View File

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