mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
fixing phonebook file validation check
git-svn-id: https://svn.fhem.de/fhem/trunk@2357 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ed673049a0
commit
5a8934e61f
@ -443,7 +443,7 @@ sub FB_CALLMONITOR_loadInternalPhonebookFile($)
|
||||
{
|
||||
|
||||
$phonebook = join('', <PHONEBOOK>);
|
||||
if($phonebook =~ /<contact>/ and $phonebook =~ /<realName>/ and $phonebook =~ /<phonebook>/ and $phonebook =~ /<\/phonebook>/)
|
||||
if($phonebook =~ /<contact>/ and $phonebook =~ /<realName>/ and $phonebook =~ /<number/ and $phonebook =~ /<phonebook/ and $phonebook =~ /<\/phonebook>/)
|
||||
{
|
||||
Log GetLogLevel($name, 2), "FB_CALLMONITOR: $name found FritzBox phonebook $phonebook_file";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user