diff --git a/DATabaseTwo/Import.cs b/DATabaseTwo/Import.cs index 4ca0f4e8..9b976840 100644 --- a/DATabaseTwo/Import.cs +++ b/DATabaseTwo/Import.cs @@ -205,6 +205,10 @@ COMMIT;"; } // Otherwise, we should already have an ID } + else + { + sourceid = sources[source]; + } // Add the source and system link to the database string uquery = @"INSERT OR IGNORE INTO datsdata (id, key, value)