mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
33_readingsHistory.pm: fixed uninitialized value warning
git-svn-id: https://svn.fhem.de/fhem/trunk@8951 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
12cef30f32
commit
9e5f174fb7
@ -227,6 +227,8 @@ readingsHistory_lookup2($$$$)
|
||||
$lookup = $vf;
|
||||
}
|
||||
|
||||
return $lookup if( !defined($lookup) );
|
||||
|
||||
if( !ref($lookup) && $lookup =~ m/^{.*}$/) {
|
||||
my $DEVICE = $name;
|
||||
my $READING = $reading;
|
||||
|
Loading…
x
Reference in New Issue
Block a user