Fixes infinite loop ... oops.

This commit is contained in:
Shannon
2013-09-04 16:09:54 +10:00
parent 838788c270
commit db79d87c08

View File

@@ -27,7 +27,7 @@ namespace Umbraco.Web.Routing
var parent = content;
do
{
parent = parent.ParentId > 0 ? content.Parent() : null;
parent = parent.ParentId > 0 ? parent.Parent() : null;
}
while (parent != null && parent.Published);