mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
incorrect check for imdbId prefix
This commit is contained in:
parent
3d9fd3ff25
commit
3f438563b8
1 changed files with 1 additions and 1 deletions
|
@ -603,7 +603,7 @@ namespace NzbDrone.Core.Parser
|
||||||
{
|
{
|
||||||
if (imdbId.Length > 2)
|
if (imdbId.Length > 2)
|
||||||
{
|
{
|
||||||
return (imdbId.Substring(2) != "tt" ? $"tt{imdbId}" : imdbId);
|
return (imdbId.Substring(0,2) != "tt" ? $"tt{imdbId}" : imdbId);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue