From 64246b4eef1948299b41bd6a115f5d5265f6b2a7 Mon Sep 17 00:00:00 2001 From: Shannon Date: Wed, 19 Feb 2014 17:08:55 +1100 Subject: [PATCH] fixes build --- src/Umbraco.Web/ImageCropperTemplateExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Umbraco.Web/ImageCropperTemplateExtensions.cs b/src/Umbraco.Web/ImageCropperTemplateExtensions.cs index cc48a47744..27943154ea 100644 --- a/src/Umbraco.Web/ImageCropperTemplateExtensions.cs +++ b/src/Umbraco.Web/ImageCropperTemplateExtensions.cs @@ -14,6 +14,7 @@ namespace Umbraco.Web //this only takes the crop json into account public static string Crop(this IPublishedContent mediaItem, string propertyAlias, string cropAlias) { + mediaItem.HasProperty(propertyAlias); var property = mediaItem.GetPropertyValue(propertyAlias); if (string.IsNullOrEmpty(property))