mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
configDB: prevent warning on unitialized value
git-svn-id: https://svn.fhem.de/fhem/trunk@6965 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
420f5d7e44
commit
f14e11cbc2
@ -630,7 +630,8 @@ sub _cfgDB_ReadCfg(@) {
|
||||
|
||||
$sth->execute();
|
||||
while (@line = $sth->fetchrow_array()) {
|
||||
$row = "$line[0] $line[1] $line[2] $line[3]";
|
||||
$row = "$line[0] $line[1] $line[2]";
|
||||
$row .= " $line[3]" if defined($line[3]);
|
||||
push @dbconfig, $row;
|
||||
}
|
||||
$fhem_dbh->disconnect();
|
||||
|
Loading…
Reference in New Issue
Block a user