mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 14:46:24 +00:00
FB_CALLMONITOR: fix not working local phonebook file in case of configDB
is used (Forum: #75686) git-svn-id: https://svn.fhem.de/fhem/trunk@14946 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bd71a950f2
commit
276675435f
@ -945,7 +945,7 @@ sub FB_CALLMONITOR_readPhonebook($;$)
|
|||||||
{
|
{
|
||||||
my $phonebook_file = AttrVal($name, "reverse-search-phonebook-file", "/var/flash/phonebook");
|
my $phonebook_file = AttrVal($name, "reverse-search-phonebook-file", "/var/flash/phonebook");
|
||||||
|
|
||||||
($err, @lines) = FileRead($phonebook_file);
|
($err, @lines) = FileRead({FileName => $phonebook_file, ForceType => "file"});
|
||||||
|
|
||||||
if(defined($err) && $err)
|
if(defined($err) && $err)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user