Fixed a create bug

This commit is contained in:
Kenneth Skovhede
2014-03-20 15:08:00 +01:00
parent 5f5c309cec
commit e79e10e4bf
+1 -1
View File
@@ -374,7 +374,7 @@ namespace Duplicati.Server.Database
OverwriteAndUpdateDb(
tr,
null,
new object[] { long.Parse(item.ID) },
new object[] { long.Parse(item.ID ?? "-1") },
new IBackup[] { item },
update ?
@"UPDATE ""Backup"" SET ""Name""=?, ""Tags""=?, ""TargetURL""=? WHERE ""ID""=?" :