Skip to content

Commit efd934c

Browse files
Update MaterializedPath.php
1 parent 320adb6 commit efd934c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tree/Strategy/ORM/MaterializedPath.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function removeNode($om, $meta, $config, $node)
2828
$qb = $om->createQueryBuilder();
2929
$qb->select('e')
3030
->from($config['useObjectClass'], 'e')
31-
->where($qb->expr()->like('e.'.$config['path'], $qb->expr()->literal($path.'%')));
31+
->where($qb->expr()->like('e.'.$config['path'], $qb->expr()->literal($path.$config['path_separator'].'%')));
3232

3333
if (isset($config['level'])) {
3434
$lvlField = $config['level'];

0 commit comments

Comments
 (0)