mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +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();
|
$sth->execute();
|
||||||
while (@line = $sth->fetchrow_array()) {
|
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;
|
push @dbconfig, $row;
|
||||||
}
|
}
|
||||||
$fhem_dbh->disconnect();
|
$fhem_dbh->disconnect();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user