1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-20 21:55:03 -04:00

Fixed: Reverted a change that caused SQL error on NetImport

https://github.com/Radarr/Radarr/commit/c300af82415c6f71af67a74d1f59ae9b2b30c674#diff-4199a537105793b9a05a6232cb0531bb

that caused SQL error when doing netimport search

update tests

update tests

revert tests then remove

revert tests changes --> comment out the tests
This commit is contained in:
geogolem
2020-01-02 22:28:11 -05:00
committed by Qstick
parent bf0c716aa5
commit 4385acef99
2 changed files with 3 additions and 7 deletions
@@ -135,12 +135,7 @@ namespace NzbDrone.Core.NetImport
foreach (var movie in listedMovies)
{
var mapped = movie;
if (mapped.TmdbId == 0)
{
mapped = _movieSearch.MapMovieToTmdbMovie(movie);
}
var mapped = _movieSearch.MapMovieToTmdbMovie(movie);
if (mapped != null && mapped.TmdbId > 0)
{