FB_CALLMONITOR: convert hash element to hash for "keys" function

git-svn-id: https://svn.fhem.de/fhem/trunk@6260 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch
2014-07-15 20:49:19 +00:00
parent 7d9d549e14
commit 9bef77b4aa

View File

@@ -288,7 +288,7 @@ FB_CALLMONITOR_Read($)
readingsBeginUpdate($hash);
readingsBulkUpdate($hash, "event", lc($array[1]));
foreach my $key (keys $hash->{helper}{TEMP}{$array[2]})
foreach my $key (keys %{$hash->{helper}{TEMP}{$array[2]}})
{
readingsBulkUpdate($hash, $key, $hash->{helper}{TEMP}{$array[2]}{$key});
}