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:
rudolfkoenig
2020-03-31 18:38:33 +00:00
parent baba8c9d63
commit 2b36f881cd

View File

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