mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-01-01 10:32:09 +01:00
Merge pull request #1097 from geogolem/fixIMDBNormalization
incorrect check for imdbId prefix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user