Fixed: No Physical Release Date causing exception when setting last write time.

Fixes #390
v0.2.0.935
Leonardo Galli 7 years ago
parent 0bc61bea38
commit f9049566c1

@ -53,7 +53,7 @@ namespace NzbDrone.Core.MediaFiles
{
var airDate = movie.PhysicalRelease;
if (airDate == null)
if (airDate.HasValue == false)
{
return false;
}
@ -65,7 +65,7 @@ namespace NzbDrone.Core.MediaFiles
{
var airDate = movie.InCinemas;
if (airDate == null)
if (airDate.HasValue == false)
{
return false;
}

Loading…
Cancel
Save