diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-12-17 16:04:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-17 16:04:20 +0100 |
commit | ac045a2461c3532d6c6ca6c33033871b1b0e1dc1 (patch) | |
tree | 4e2b7226fe66f9ee8473dd8315fb5a7dcd6e9c9e | |
parent | e9e3d485bc498d32fa73298d168e2445364427a3 (diff) | |
parent | 1378614f67830dafbc9d0f197575aca73f7247e5 (diff) | |
download | nextcloud-server-ac045a2461c3532d6c6ca6c33033871b1b0e1dc1.tar.gz nextcloud-server-ac045a2461c3532d6c6ca6c33033871b1b0e1dc1.zip |
Merge pull request #18448 from nextcloud/fix/noid/wrong-paths-for-fileids
pass the proper storage-internal path
-rw-r--r-- | apps/workflowengine/lib/Entity/File.php | 2 |
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 } |