mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
incorrect check for imdbId prefix
This commit is contained in:
parent
3d9fd3ff25
commit
3f438563b8
@ -603,7 +603,7 @@ public static string NormalizeImdbId(string imdbId)
|
||||
{
|
||||
if (imdbId.Length > 2)
|
||||
{
|
||||
return (imdbId.Substring(2) != "tt" ? $"tt{imdbId}" : imdbId);
|
||||
return (imdbId.Substring(0,2) != "tt" ? $"tt{imdbId}" : imdbId);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user