From 306d83cbd6e2a0e8de15098b0696dea36215e982 Mon Sep 17 00:00:00 2001 From: Stephan Date: Wed, 9 Apr 2014 16:06:15 +0200 Subject: [PATCH] Bugfix published content extension .Next() --- src/Umbraco.Web/PublishedContentExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/PublishedContentExtensions.cs b/src/Umbraco.Web/PublishedContentExtensions.cs index 484e7697b8..411d1a9e7b 100644 --- a/src/Umbraco.Web/PublishedContentExtensions.cs +++ b/src/Umbraco.Web/PublishedContentExtensions.cs @@ -1385,7 +1385,7 @@ namespace Umbraco.Web { if (b4) { - if (c == content) + if (c.Id == content.Id) b4 = false; else if (wrap && wrapped == null && predicate(c)) wrapped = c;