mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
fhem.pl: change array initialization (Forum #109718)
git-svn-id: https://svn.fhem.de/fhem/trunk@21561 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
95c570a3f4
commit
b6a80580fd
@ -4618,7 +4618,7 @@ readingsBeginUpdate($)
|
||||
$hash->{".updateTime"} = $now; # in seconds since the epoch
|
||||
$hash->{".updateTimestamp"} = $fmtDateTime;
|
||||
|
||||
$hash->{CHANGED}= () if(!defined($hash->{CHANGED}));
|
||||
$hash->{CHANGED}= [] if(!defined($hash->{CHANGED}));
|
||||
return $fmtDateTime;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user