fixed quality link to series

This commit is contained in:
kay.one 2011-04-19 18:56:02 -07:00
parent 2a603d908f
commit 38712c7e5f
1 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ namespace NzbDrone.Core.Repository.Quality
foreach (var q in Allowed) foreach (var q in Allowed)
{ {
result += (int) q + "|"; result += (int)q + "|";
} }
return result.Trim('|'); return result.Trim('|');
} }
@ -51,12 +51,12 @@ namespace NzbDrone.Core.Repository.Quality
Allowed = new List<QualityTypes>(qualities.Length); Allowed = new List<QualityTypes>(qualities.Length);
foreach (var quality in qualities) foreach (var quality in qualities)
{ {
Allowed.Add((QualityTypes) Convert.ToInt32(quality)); Allowed.Add((QualityTypes)Convert.ToInt32(quality));
} }
} }
} }
[SubSonicToManyRelation] [SubSonicToManyRelation]
public virtual List<string> Series { get; private set; } public virtual List<Series> Series { get; private set; }
} }
} }