Fixed: Extra new line in release restrictions causing all releases to be rejected

This commit is contained in:
Mark McDowall 2014-01-15 12:39:32 -08:00
parent 2dd7fb9fdf
commit 885872ff3a
3 changed files with 17 additions and 8 deletions

View file

@ -231,8 +231,8 @@ namespace NzbDrone.Core.Configuration
public string ReleaseRestrictions
{
get { return GetValue("ReleaseRestrictions", String.Empty); }
set { SetValue("ReleaseRestrictions", value); }
get { return GetValue("ReleaseRestrictions", String.Empty).Trim('\r', '\n'); }
set { SetValue("ReleaseRestrictions", value.Trim('\r', '\n')); }
}
public Int32 RssSyncInterval