Handle element types in the multi URL picker

This commit is contained in:
Kenn Jacobsen
2019-01-23 14:40:42 +01:00
committed by Sebastiaan Janssen
parent 9d3d4b77a0
commit a025568196

View File

@@ -65,7 +65,7 @@ namespace Umbraco.Web.PropertyEditors.ValueConverters
_publishedSnapshotAccessor.PublishedSnapshot.Media.GetById(preview, dto.Udi.Guid) :
_publishedSnapshotAccessor.PublishedSnapshot.Content.GetById(preview, dto.Udi.Guid);
if (content == null)
if (content == null || content.ItemType == PublishedItemType.Element)
{
continue;
}