From a7f0b3c6fb2e6753762e5251705593adbab2b994 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Fri, 9 Jan 2015 12:39:08 +0000 Subject: [PATCH] configDB.pm: fixed: recover Forum #31776 git-svn-id: https://svn.fhem.de/fhem/trunk@7482 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/configDB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/configDB.pm b/fhem/configDB.pm index 12f729562..a69d40ee7 100644 --- a/fhem/configDB.pm +++ b/fhem/configDB.pm @@ -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();