fixes null check on image cropper

This commit is contained in:
Shannon
2018-04-09 13:35:18 +10:00
parent fb74b1b75f
commit 0971aa0ab6

View File

@@ -35,6 +35,8 @@ namespace Umbraco.Web.PropertyEditors
public override object ToEditor(Property property, IDataTypeService dataTypeService, int? languageId = null, string segment = null)
{
var val = property.GetValue(languageId, segment);
if (val == null) return null;
ImageCropperValue value;
try
{