pass the proper storage-internal path

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/18448/head
Arthur Schiwon 6 years ago
parent 1ac764e0b7
commit 1378614f67
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
  1. 2
      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
}

Loading…
Cancel
Save