From b10bd30d4ed6f613286005413a5ee9af317b6f50 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 9 May 2016 16:25:10 -0700 Subject: [PATCH] Forgot to actually get source ID from the source name... --- DATabaseTwo/Import.cs | 4 ++++ 1 file changed, 4 insertions(+) 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)