Merge pull request #1573 from drbldgtl/dev-v7-U4-6415

Renamed SerializeToCropDataSet to DeserializeToCropDataSet
This commit is contained in:
Sebastiaan Janssen
2018-01-13 17:33:44 +01:00
committed by GitHub
3 changed files with 11 additions and 11 deletions

View File

@@ -232,7 +232,7 @@ namespace Umbraco.Web
ImageCropDataSet cropDataSet = null;
if (string.IsNullOrEmpty(imageCropperValue) == false && imageCropperValue.DetectIsJson() && (imageCropMode == ImageCropMode.Crop || imageCropMode == null))
{
cropDataSet = imageCropperValue.SerializeToCropDataSet();
cropDataSet = imageCropperValue.DeserializeToCropDataSet();
}
return GetCropUrl(
imageUrl, cropDataSet, width, height, cropAlias, quality, imageCropMode,