2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

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 fbf43ce944
commit a57ad137a3

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