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

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6260 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch
2014-07-15 20:49:19 +00:00
parent a58e2771cf
commit 0724bf87c5

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