summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-12-17 15:00:44 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-12-17 15:00:44 +0100
commit1378614f67830dafbc9d0f197575aca73f7247e5 (patch)
treecccf143c0517295e6be8cd778a36f397fac09b3e /apps/workflowengine
parent1ac764e0b73e6250316d5e7b74ced694a69fc89b (diff)
downloadnextcloud-server-1378614f67830dafbc9d0f197575aca73f7247e5.tar.gz
nextcloud-server-1378614f67830dafbc9d0f197575aca73f7247e5.zip
pass the proper storage-internal path
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/workflowengine')
-rw-r--r--apps/workflowengine/lib/Entity/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Entity/File.php b/apps/workflowengine/lib/Entity/File.php
index 9c44a383d6c..6196af5bc23 100644
--- a/apps/workflowengine/lib/Entity/File.php
+++ b/apps/workflowengine/lib/Entity/File.php
@@ -113,7 +113,7 @@ class File implements IEntity, IDisplayText {
try {
$node = $this->getNode();
$ruleMatcher->setEntitySubject($this, $node);
- $ruleMatcher->setFileInfo($node->getStorage(), $node->getPath());
+ $ruleMatcher->setFileInfo($node->getStorage(), $node->getInternalPath());
} catch (NotFoundException $e) {
// pass
}