Whoops, my last fix was a bit too broad
This commit is contained in:
@@ -540,8 +540,8 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
|
||||
{
|
||||
// use property type to ensure proper conversion
|
||||
var propertyType = _contentType.GetPropertyType(i.Key);
|
||||
|
||||
if (i.Key != "isDoc" && i.Key != "image")
|
||||
|
||||
if (propertyType != null)
|
||||
property = new XmlPublishedProperty(propertyType, false, i.Value); // false :: never preview a media
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user