mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +00:00
FB_CALLMONITOR: remove check for <phonebooks>-Tag as it is not included in older FB models (Forum: #40626)
git-svn-id: https://svn.fhem.de/fhem/trunk@10666 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ad8cb11c55
commit
977e604c94
@ -941,7 +941,7 @@ sub FB_CALLMONITOR_parsePhonebook($$)
|
||||
my $number;
|
||||
my $count_contacts = 0;
|
||||
|
||||
if($phonebook =~ /<phonebooks>/ and $phonebook =~ /<phonebook[^>]+>/ and $phonebook =~ m,</phonebook>, and $phonebook =~ m,</phonebooks>,)
|
||||
if($phonebook =~ /<phonebook/ and $phonebook =~ m,</phonebook>,)
|
||||
{
|
||||
if($phonebook =~ /<contact/ and $phonebook =~ /<realName>/ and $phonebook =~ /<number/)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user