diff --git a/lib/Operation.php b/lib/Operation.php index 3dbfc7d..7d4cd49 100644 --- a/lib/Operation.php +++ b/lib/Operation.php @@ -271,7 +271,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