Merge pull request #1097 from geogolem/fixIMDBNormalization

incorrect check for imdbId prefix
pull/2/head
geogolem 8 years ago committed by GitHub
commit ae0fc019e5

@ -603,7 +603,7 @@ namespace NzbDrone.Core.Parser
{
if (imdbId.Length > 2)
{
return (imdbId.Substring(2) != "tt" ? $"tt{imdbId}" : imdbId);
return (imdbId.Substring(0,2) != "tt" ? $"tt{imdbId}" : imdbId);
}
return null;

Loading…
Cancel
Save