mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Fixed SceneMappingProvider to resolve an issue with series with multiple clean names failing to return a Scene Name when being looked up via SeriesId.
This commit is contained in:
parent
322767c3f3
commit
fb9c2b6d9e
2 changed files with 34 additions and 1 deletions
|
@ -72,7 +72,7 @@ namespace NzbDrone.Core.Providers
|
|||
|
||||
public virtual string GetSceneName(int seriesId)
|
||||
{
|
||||
var item = _database.SingleOrDefault<SceneMapping>("WHERE SeriesId = @0", seriesId);
|
||||
var item = _database.FirstOrDefault<SceneMapping>("WHERE SeriesId = @0", seriesId);
|
||||
|
||||
if (item == null)
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue