configDB.pm: fix perl warning #126857

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25860 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2022-03-20 10:03:20 +00:00
parent f84505b858
commit af9bbf8c0c

View File

@ -1138,6 +1138,7 @@ if($svinternal != -1) {
$sth = $fhem_dbh->prepare( $sql); $sth = $fhem_dbh->prepare( $sql);
$sth->execute(); $sth->execute();
while (@line = $sth->fetchrow_array()) { while (@line = $sth->fetchrow_array()) {
$line[3] //= "";
$ret .= "$line[0] $line[1] $line[2] $line[3]\n"; $ret .= "$line[0] $line[1] $line[2] $line[3]\n";
} }
return $ret; return $ret;