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

YAMAHA_AVR: dereference hash element for keys() (perl compatibility issue)

git-svn-id: https://svn.fhem.de/fhem/trunk@4637 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2014-01-12 22:17:40 +00:00
parent 03ce45e222
commit 276962959b

View File

@ -242,7 +242,7 @@ YAMAHA_AVR_Get($@)
{
$return = "unknown argument $what, choose one of";
foreach my $reading (keys $hash->{READINGS})
foreach my $reading (keys %{$hash->{READINGS}})
{
$return .= " $reading:noArg";
}