mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 14:55:20 -07:00
Fixed: No Physical Release Date causing exception when setting last write time.
Fixes #390
This commit is contained in:
parent
0bc61bea38
commit
f9049566c1
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ namespace NzbDrone.Core.MediaFiles
|
||||||
{
|
{
|
||||||
var airDate = movie.PhysicalRelease;
|
var airDate = movie.PhysicalRelease;
|
||||||
|
|
||||||
if (airDate == null)
|
if (airDate.HasValue == false)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,7 @@ namespace NzbDrone.Core.MediaFiles
|
||||||
{
|
{
|
||||||
var airDate = movie.InCinemas;
|
var airDate = movie.InCinemas;
|
||||||
|
|
||||||
if (airDate == null)
|
if (airDate.HasValue == false)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue