Noticed that if a source is added, it can never be matched with the current logic

This commit is contained in:
Matt Nadareski
2016-05-10 12:09:43 -07:00
parent 188cb047ea
commit d0dd7c89c7

View File

@@ -203,7 +203,7 @@ COMMIT;";
} }
// Add the new source to the temporary Dictionary // Add the new source to the temporary Dictionary
sources.Add(source, sourceid); sources.Add(source.ToLowerInvariant(), sourceid);
} }
// Otherwise, get the ID // Otherwise, get the ID
else if (source != "" && sourceid == 0 && sources.ContainsKey(source)) else if (source != "" && sourceid == 0 && sources.ContainsKey(source))