pass the proper storage-internal path
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
1ac764e0b7
commit
1378614f67
|
@ -113,7 +113,7 @@ class File implements IEntity, IDisplayText {
|
||||||
try {
|
try {
|
||||||
$node = $this->getNode();
|
$node = $this->getNode();
|
||||||
$ruleMatcher->setEntitySubject($this, $node);
|
$ruleMatcher->setEntitySubject($this, $node);
|
||||||
$ruleMatcher->setFileInfo($node->getStorage(), $node->getPath());
|
$ruleMatcher->setFileInfo($node->getStorage(), $node->getInternalPath());
|
||||||
} catch (NotFoundException $e) {
|
} catch (NotFoundException $e) {
|
||||||
// pass
|
// pass
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue