mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: No Physical Release Date causing exception when setting last write time.
Fixes #390
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user