U4-7063 - Umbraco.TypedContent(ints) should not return nulls
This commit is contained in:
@@ -211,7 +211,7 @@ namespace Umbraco.Web
|
||||
|
||||
private IEnumerable<IPublishedContent> TypedDocumentsByIds(ContextualPublishedCache cache, IEnumerable<int> ids)
|
||||
{
|
||||
return ids.Select(eachId => TypedDocumentById(eachId, cache));
|
||||
return ids.Select(eachId => TypedDocumentById(eachId, cache)).WhereNotNull();
|
||||
}
|
||||
|
||||
private IEnumerable<IPublishedContent> TypedDocumentsByXPath(string xpath, XPathVariable[] vars, ContextualPublishedContentCache cache)
|
||||
|
||||
Reference in New Issue
Block a user