argh! no more extension methods that depend on singletons
This commit is contained in:
@@ -875,7 +875,7 @@ namespace Umbraco.Core.Services
|
||||
var c = stack.Peek();
|
||||
IMedia[] cc;
|
||||
if (c.Level == level)
|
||||
while ((cc = c.Children().ToArray()).Length > 0)
|
||||
while ((cc = c.Children(this).ToArray()).Length > 0)
|
||||
{
|
||||
foreach (var ci in cc)
|
||||
stack.Push(ci);
|
||||
|
||||
Reference in New Issue
Block a user