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 7e696ca42c
commit dc9c32e73f

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)
{