1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-30 10:51:42 +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; dynamic lazy = conventionInfo.SourceProp.Value;
if (lazy.IsLoaded) if (lazy.IsLoaded && lazy.Value != null)
{ {
if (conventionInfo.TargetProp.Type.IsAssignableFrom(sourceArgument)) if (conventionInfo.TargetProp.Type.IsAssignableFrom(sourceArgument))
{ {