mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
FRITZBOX: foreach warning
git-svn-id: https://svn.fhem.de/fhem/trunk@11185 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4c22ca7b00
commit
e029ac54fc
@ -1387,7 +1387,7 @@ sub FRITZBOX_Readout_Run_Web($)
|
||||
# Create LanDevice list and delete inactive devices
|
||||
my %oldLanDevice;
|
||||
#collect current mac-readings (to delete the ones that are inactive or disappeared)
|
||||
foreach (keys $hash->{READINGS}) {
|
||||
foreach (keys %{ $hash->{READINGS} }) {
|
||||
$oldLanDevice{$_} = $hash->{READINGS}{$_}{VAL} if $_ =~ /^mac_/ && defined $hash->{READINGS}{$_}{VAL};
|
||||
}
|
||||
%landevice = ();
|
||||
|
Loading…
Reference in New Issue
Block a user