From ff5c5c8a035755c5ed33468b973182a1b3b32e8d Mon Sep 17 00:00:00 2001 From: pgregorynz Date: Sun, 4 Nov 2012 21:24:04 -1000 Subject: [PATCH] Relates to bud U4-1142 Umbraco helper in wrong context with used in a Partial. Fix to context of Umbraco helper when used in partials. --- src/Umbraco.Web/UmbracoHelper.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Umbraco.Web/UmbracoHelper.cs b/src/Umbraco.Web/UmbracoHelper.cs index 2c96664a45..8b928454a4 100644 --- a/src/Umbraco.Web/UmbracoHelper.cs +++ b/src/Umbraco.Web/UmbracoHelper.cs @@ -251,6 +251,7 @@ namespace Umbraco.Web var item = new Item() { + NodeId = currentPage.Id.ToString(), Field = fieldAlias, TextIfEmpty = altText, LegacyAttributes = attributesForItem