2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 07:56:03 +00:00

FRITZBOX: bugfix HandsetCount

git-svn-id: https://svn.fhem.de/fhem/trunk@17073 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
tupol 2018-08-01 17:35:58 +00:00
parent 37689ad912
commit 0d7f8bbcb1

View File

@ -1465,7 +1465,7 @@ sub FRITZBOX_Readout_Run_Web($)
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "fhem->sidTime", time(); FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "fhem->sidTime", time();
# Dect-Geräteliste erstellen # Dect-Geräteliste erstellen
if ( $result->{handsetCount} > 0 ) { if ( $result->{handsetCount} =~ /[1-9]/ ) {
$runNo = 0; $runNo = 0;
foreach ( @{ $result->{dectUser} } ) { foreach ( @{ $result->{dectUser} } ) {
my $intern = $_->{Intern}; my $intern = $_->{Intern};