From a57ad137a384ab5c4ce32a1101bda69bafdc3e22 Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Tue, 15 Jul 2014 20:49:19 +0000 Subject: [PATCH] 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 --- fhem/FHEM/72_FB_CALLMONITOR.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/72_FB_CALLMONITOR.pm b/fhem/FHEM/72_FB_CALLMONITOR.pm index 00154175c..772f7b735 100755 --- a/fhem/FHEM/72_FB_CALLMONITOR.pm +++ b/fhem/FHEM/72_FB_CALLMONITOR.pm @@ -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}); }