mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
configDB.pm: fixed: recover
Forum #31776 git-svn-id: https://svn.fhem.de/fhem/trunk@7482 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4207961ef0
commit
a7f0b3c6fb
@ -799,7 +799,7 @@ sub _cfgDB_Recover($) {
|
|||||||
$sth->execute();
|
$sth->execute();
|
||||||
$sth2 = $fhem_dbh->prepare('INSERT INTO fhemconfig values (?, ?, ?, ?, ?, ?)');
|
$sth2 = $fhem_dbh->prepare('INSERT INTO fhemconfig values (?, ?, ?, ?, ?, ?)');
|
||||||
while (@line = $sth->fetchrow_array()) {
|
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->commit();
|
||||||
$fhem_dbh->disconnect();
|
$fhem_dbh->disconnect();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user