diff --git a/lib/Operation.php b/lib/Operation.php index f4bad39..b7c8ed6 100644 --- a/lib/Operation.php +++ b/lib/Operation.php @@ -273,7 +273,7 @@ protected function replacePlaceholderN(Node $node): string { if (isset($storage) && $storage->instanceOfStorage(GroupFolderStorage::class)) { // group folders are always located within $DATADIR/__groupfolders/ - $absPath = $storage->getLocalFile($node->getPath()); + $absPath = $storage->getLocalFile($node->getInternalPath()); $pos = strpos($absPath, '/__groupfolders/'); // if the string cannot be found, the fallback is absolute path // it should never happen #famousLastWords