mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
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:
parent
312b98ff46
commit
3fd7f8a7d2
@ -1,5 +1,7 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# 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.
|
# 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
|
- change: 93_DbLog: V2.22.15, some Log verbose level adapted/added
|
||||||
- bugfix: 44_S7_ARead: event-on-change-reading
|
- bugfix: 44_S7_ARead: event-on-change-reading
|
||||||
- bugfix: 44_S7_AWrite: event-on-change-reading
|
- bugfix: 44_S7_AWrite: event-on-change-reading
|
||||||
|
@ -1044,7 +1044,7 @@ sub FB_CALLMONITOR_readPhonebook($;$)
|
|||||||
|
|
||||||
Log3 $name, 2, "FB_CALLMONITOR ($name) - found FritzBox phonebook $phonebook_file";
|
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))
|
if(defined($err))
|
||||||
{
|
{
|
||||||
@ -1053,6 +1053,7 @@ sub FB_CALLMONITOR_readPhonebook($;$)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
$hash->{helper}{PHONEBOOK} = $pb_hash;
|
||||||
Log3 $name, 2, "FB_CALLMONITOR ($name) - read $count_contacts contact".($count_contacts == 1 ? "" : "s")." from $phonebook_file";
|
Log3 $name, 2, "FB_CALLMONITOR ($name) - read $count_contacts contact".($count_contacts == 1 ? "" : "s")." from $phonebook_file";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user