Forgot to actually get source ID from the source name...

This commit is contained in:
Matt Nadareski
2016-05-09 16:25:10 -07:00
parent 2d95c59a90
commit b10bd30d4e

View File

@@ -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)