This commit is contained in:
Stephan
2013-09-30 11:00:42 +02:00
parent a7603747a6
commit 77777c8007
6 changed files with 33 additions and 63 deletions

View File

@@ -32,7 +32,7 @@ namespace umbraco.MacroEngines
}
public DynamicBackingItem(int Id)
{
var n = UmbracoContext.Current.ContentCache.GetById(Id).ConvertToNode();
var n = CompatibilityHelper.ConvertToNode(UmbracoContext.Current.ContentCache.GetById(Id));
this.content = n;
this.Type = DynamicBackingItemType.Content;
@@ -57,7 +57,7 @@ namespace umbraco.MacroEngines
}
else
{
this.content = UmbracoContext.Current.ContentCache.GetById(Id).ConvertToNode();
this.content = CompatibilityHelper.ConvertToNode(UmbracoContext.Current.ContentCache.GetById(Id));
this.Type = Type;
}
}