1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-01-01 04:45:35 +00:00

Fixed broken tests

This commit is contained in:
Mark McDowall 2014-08-27 07:42:06 -07:00
parent 9f3bdaa1ce
commit 7d91b1bdb7

View file

@ -66,7 +66,7 @@ private static object MapLazy(ConventionInfo conventionInfo)
dynamic lazy = conventionInfo.SourceProp.Value;
if (lazy.IsLoaded)
if (lazy.IsLoaded && lazy.Value != null)
{
if (conventionInfo.TargetProp.Type.IsAssignableFrom(sourceArgument))
{