diff --git a/src/NzbDrone.Core/Tv/SeriesRepository.cs b/src/NzbDrone.Core/Tv/SeriesRepository.cs index 9a9b9bda6..88233f64e 100644 --- a/src/NzbDrone.Core/Tv/SeriesRepository.cs +++ b/src/NzbDrone.Core/Tv/SeriesRepository.cs @@ -100,7 +100,7 @@ namespace NzbDrone.Core.Tv { using (var conn = _database.OpenConnection()) { - var strSql = "SELECT Id AS [Key], Tags AS [Value] FROM Series WHERE Tags IS NOT NULL"; + var strSql = "SELECT \"Id\" AS Key, \"Tags\" AS Value FROM \"Series\" WHERE \"Tags\" IS NOT NULL"; return conn.Query>>(strSql).ToDictionary(x => x.Key, x => x.Value); } }