Skip to content

Commit 810cbc9

Browse files
authored
Merge pull request #220 from nextcloud/backport/218/stable26
[stable26] fix(operation): groupfolder path is user independent
2 parents 160ec10 + 80e3730 commit 810cbc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Operation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ protected function replacePlaceholderN(Node $node): string {
273273

274274
if (isset($storage) && $storage->instanceOfStorage(GroupFolderStorage::class)) {
275275
// group folders are always located within $DATADIR/__groupfolders/
276-
$absPath = $storage->getLocalFile($node->getPath());
276+
$absPath = $storage->getLocalFile($node->getInternalPath());
277277
$pos = strpos($absPath, '/__groupfolders/');
278278
// if the string cannot be found, the fallback is absolute path
279279
// it should never happen #famousLastWords

0 commit comments

Comments
 (0)