2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +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:
markusbloch 2017-08-22 21:10:11 +00:00
parent bd71a950f2
commit 276675435f

View File

@ -945,7 +945,7 @@ sub FB_CALLMONITOR_readPhonebook($;$)
{
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)
{