From 668d4f9f91083a1233bfd313c9b37493189f52a1 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Mon, 8 Apr 2013 05:59:02 -0200 Subject: [PATCH] Fixes U4-1864 Publishing document type with Upload field and related umbracoWidth, umbracoHeight, etc fields added --- src/umbraco.cms/businesslogic/Content.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/umbraco.cms/businesslogic/Content.cs b/src/umbraco.cms/businesslogic/Content.cs index 9d80511bca..8390269602 100644 --- a/src/umbraco.cms/businesslogic/Content.cs +++ b/src/umbraco.cms/businesslogic/Content.cs @@ -699,7 +699,7 @@ namespace umbraco.cms.businesslogic continue; //get the propertyId - var property = propData.SingleOrDefault(x => x.PropertyTypeId == pt.Id); + var property = propData.FirstOrDefault(x => x.PropertyTypeId == pt.Id); if (property == null) { //continue;