Merge remote-tracking branch 'origin/v13/dev' into v14/dev
# Conflicts: # .artifactignore # build/azure-pipelines.yml # tests/Umbraco.Tests.AcceptanceTest/misc/umbraco-linux.docker
This commit is contained in:
@@ -520,7 +520,7 @@ public static class ImageCropperTemplateCoreExtensions
|
||||
throw new ArgumentNullException(nameof(mediaItem));
|
||||
}
|
||||
|
||||
if (mediaItem.HasProperty(propertyAlias) == false || mediaItem.HasValue(propertyAlias) == false)
|
||||
if (mediaItem.HasProperty(propertyAlias) == false || mediaItem.HasValue(publishedValueFallback, propertyAlias) == false)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user