Commit f178729a authored by Nigel McNie's avatar Nigel McNie
Browse files

Recursively look for all files and folders, not just two levels deep, when...

Recursively look for all files and folders, not just two levels deep, when creating a strategy for root level folders.
parent b06969f1
......@@ -191,7 +191,7 @@ class LeapImportFile extends LeapImportArtefactPlugin {
foreach ($children as $childid) {
$child = $importer->get_entry_by_id($childid);
if (self::is_folder($child, $importer)) {
$children = array_merge($children, self::get_children_of_folder($child, $importer));
$children = array_merge($children, self::get_children_of_folder($child, $importer, true));
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment