70_XBMC.pm: fixed warning (really)

git-svn-id: https://svn.fhem.de/fhem/trunk@10020 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
vbs2 2015-11-27 11:50:31 +00:00
parent 43ca5fa94c
commit 6e6fe420d7

View File

@ -658,7 +658,7 @@ sub XBMC_ProcessResponse($$)
my $players = $obj->{result};
if (ref($players) ne "ARRAY") {
my $keys = "";
while ((my $k, my $v) = each %$hash->{PendingPlayerCMDs} ) {
while ((my $k, my $v) = each %{ $hash->{PendingPlayerCMDs} } ) {
$keys .= ",$k";
}
delete $hash->{PendingPlayerCMDs}{$id};