Permalink
Browse files

Fix stat

  • Loading branch information...
1 parent daca885 commit df171aa684cb5b44c8b99fccef961cc6e33d74b9 @cdujeu cdujeu committed Oct 12, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/plugins/access.fs/FsAccessDriver.php
@@ -834,7 +834,7 @@ public function switchAction(ServerRequestInterface &$request, ResponseInterface
$jsonData = new \stdClass;
if($selection->isUnique()){
$stat = @stat($selection->getUniqueNode()->getUrl());
- if ($stat !== false && !$this->isReadable($selection->getUniqueNode())) {
+ if ($stat !== false && $this->isReadable($selection->getUniqueNode())) {
$jsonData = $stat;
}
}else{

0 comments on commit df171aa

Please sign in to comment.