From 63e885fa77a4e819e6ffa70d1bb8b05eb22a795d Mon Sep 17 00:00:00 2001 From: hartvig Date: Mon, 14 Jun 2010 23:42:59 +0000 Subject: [PATCH] Fixes 27495 [TFS Changeset #68655] --- umbraco/presentation/item.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/umbraco/presentation/item.cs b/umbraco/presentation/item.cs index bb5ae4e398..5fed9e0738 100644 --- a/umbraco/presentation/item.cs +++ b/umbraco/presentation/item.cs @@ -43,7 +43,8 @@ namespace umbraco // Loop through XML children we need to find the fields recursive if(helper.FindAttribute(attributes, "recursive") == "true") { - XmlDocument umbracoXML = content.Instance.XmlContent; + + XmlDocument umbracoXML = presentation.UmbracoContext.Current.GetXml(); String[] splitpath = (String[]) elements["splitpath"]; for(int i = 0; i < splitpath.Length - 1; i++)