Skip to content

Commit 5246653

Browse files
Merge pull request #59573 from nextcloud/node-getparent-id-no-submounts
2 parents aab3e31 + 9125715 commit 5246653

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/Node/Node.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public function getParent(): INode|IRootFolder {
279279

280280
// Manually fetch the parent if the current node doesn't have a file info yet
281281
try {
282-
$fileInfo = $this->getFileInfo();
282+
$fileInfo = $this->getFileInfo(false);
283283
} catch (NotFoundException) {
284284
$this->parent = $this->root->get($newPath);
285285
/** @var \OCP\Files\Folder $this->parent */

0 commit comments

Comments
 (0)