Fixes build errors

This commit is contained in:
Shannon
2013-08-29 12:01:30 +10:00
parent 9fc3efd73a
commit 581f3a1893
2 changed files with 4 additions and 3 deletions

View File

@@ -236,10 +236,11 @@ namespace Umbraco.Web.Models
}
//get the data type id for the current property
var dataType = Umbraco.Core.PublishedContentHelper.GetDataType(
var dataType = PublishedContentHelper.GetDataType(
ApplicationContext.Current,
userProperty.DocumentTypeAlias,
userProperty.Alias);
userProperty.Alias,
ItemType);
//convert the string value to a known type
var converted = Umbraco.Core.PublishedContentHelper.ConvertPropertyValue(result, dataType, userProperty.DocumentTypeAlias, userProperty.Alias);