configDB.pm: fixed: recover

Forum #31776

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7482 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2015-01-09 12:39:08 +00:00
parent cdb3d8ffe5
commit 32f8393aed

View File

@ -799,7 +799,7 @@ sub _cfgDB_Recover($) {
$sth->execute();
$sth2 = $fhem_dbh->prepare('INSERT INTO fhemconfig values (?, ?, ?, ?, ?, ?)');
while (@line = $sth->fetchrow_array()) {
$sth2->execute($line[0], $line[1], $line[2], $line[3], -1, $touuid);
$sth2->execute($line[0], $line[1], $line[2], $line[3], $line[4], $touuid);
}
$fhem_dbh->commit();
$fhem_dbh->disconnect();