fixes #263 - User profile images lost

This commit is contained in:
Luke Pulverenti 2013-05-11 13:56:11 -04:00
parent f3c5b5b836
commit b85ea26b7a

View File

@ -754,7 +754,7 @@ namespace MediaBrowser.Api.Images
}
// Don't save locally if there's no parent (special feature, trailer, etc)
var saveLocally = !(entity is Audio) && entity.Parent != null && !string.IsNullOrEmpty(entity.MetaLocation);
var saveLocally = (!(entity is Audio) && entity.Parent != null && !string.IsNullOrEmpty(entity.MetaLocation)) || entity is User;
if (imageType != ImageType.Primary)
{