mirror of https://github.com/nextcloud/bookmarks
fix(TreeMapper#getParentOf): Select correct type
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
53bbd8b01d
commit
026fb6229d
|
@ -254,7 +254,7 @@ class TreeMapper extends QBMapper {
|
|||
'id' => $itemId,
|
||||
'type' => $type,
|
||||
]);
|
||||
return $this->findEntityWithType($qb, $type);
|
||||
return $this->findEntityWithType($qb, self::TYPE_FOLDER);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue