Bug: Fixed qualityProfile so it returns the selected cutoff in the model.

Now using trim before checking title.length for AddExistingSeries.
This commit is contained in:
Mark McDowall 2012-01-13 08:54:20 -08:00
parent 0e246b2cd9
commit 4796b81cf1
3 changed files with 5 additions and 1 deletions

View file

@ -247,6 +247,7 @@ namespace NzbDrone.Web.Controllers
model.Webdl = profile.Allowed.Contains(QualityTypes.WEBDL);
model.Bluray720p = profile.Allowed.Contains(QualityTypes.Bluray720p);
model.Bluray1080p = profile.Allowed.Contains(QualityTypes.Bluray1080p);
model.Cutoff = profile.Cutoff;
return PartialView("QualityProfileItem", model);
}