Skip to content

Commit 5d1129a

Browse files
authored
Merge pull request #170 from nextcloud/backport/160/stable26
[stable26] fixes #156
2 parents cb383fd + 8cdbdf9 commit 5d1129a

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
@@ -216,7 +216,7 @@ protected function buildCommand(string $template, Node $node, string $event, arr
216216
$nodeID = $node->getId();
217217
} catch (InvalidPathException | NotFoundException $e) {
218218
}
219-
$command = str_replace('%s', escapeshellarg((string)$nodeID), $command);
219+
$command = str_replace('%i', escapeshellarg((string)$nodeID), $command);
220220
}
221221

222222
if (strpos($command, '%a')) {

0 commit comments

Comments
 (0)