mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 04:36:02 +00:00
fhem.pl: configDb functionCall syntax change, forum #23528
git-svn-id: https://svn.fhem.de/fhem/trunk@5835 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
da41f75c08
commit
8e0832cb59
@ -3791,8 +3791,7 @@ FileRead($)
|
||||
my ($err, @ret);
|
||||
|
||||
if(configDBUsed()) {
|
||||
@ret = cfgDB_FileRead($fname);
|
||||
$err = "$fname not found in the database." if(@ret==1 && !defined($ret[0]));
|
||||
($err, @ret) = cfgDB_FileRead($fname);
|
||||
|
||||
} else {
|
||||
if(open(FH, $fname)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user