Skip to content

Commit e9c1a97

Browse files
committed
fixed handling of phpcr:locale children in getChildren()
1 parent 2ac8fd2 commit e9c1a97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Templating/Helper/CmfHelper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ public function getChildren($parent, $limit = false, $offset = false, $filter =
281281
// filter before fetching data already to save some traffic
282282
if (strpos($child, 'phpcr_locale:') === 0) {
283283
unset($children[$key]);
284+
continue;
284285
}
285286
$children[$key] = "$parent/$child";
286287
}

0 commit comments

Comments
 (0)