FB_CALLMONITOR: fix not working local phonebook entry import

git-svn-id: https://svn.fhem.de/fhem/trunk@15521 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2017-11-29 18:14:21 +00:00
parent 312b98ff46
commit 3fd7f8a7d2
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: 72_FB_CALLMONITOR: fix not working reverse-search-phonebook
file import
- change: 93_DbLog: V2.22.15, some Log verbose level adapted/added
- bugfix: 44_S7_ARead: event-on-change-reading
- bugfix: 44_S7_AWrite: event-on-change-reading

View File

@ -1044,7 +1044,7 @@ sub FB_CALLMONITOR_readPhonebook($;$)
Log3 $name, 2, "FB_CALLMONITOR ($name) - found FritzBox phonebook $phonebook_file";
($err, $count_contacts) = FB_CALLMONITOR_parsePhonebook($hash, $phonebook);
($err, $count_contacts, $pb_hash) = FB_CALLMONITOR_parsePhonebook($hash, $phonebook);
if(defined($err))
{
@ -1053,6 +1053,7 @@ sub FB_CALLMONITOR_readPhonebook($;$)
}
else
{
$hash->{helper}{PHONEBOOK} = $pb_hash;
Log3 $name, 2, "FB_CALLMONITOR ($name) - read $count_contacts contact".($count_contacts == 1 ? "" : "s")." from $phonebook_file";
}
}