Skip to content

Commit

Permalink
Merge pull request #611 from nextcloud/bugfix/noid/do_not_break_sabre…
Browse files Browse the repository at this point in the history
…_event_chain

Do not break the Sabre/DAV event chain by returning false
  • Loading branch information
icewind1991 authored Sep 25, 2019
2 parents 905bb2d + 3b746a1 commit ae710a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DAV/ACLPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public function propFind(PropFind $propFind, INode $node) {
function propPatch($path, PropPatch $propPatch) {
$node = $this->server->tree->getNodeForPath($path);
if (!$node instanceof Node) {
return false;
return;
}
$fileInfo = $node->getFileInfo();
if (!$this->isAdmin($fileInfo->getPath())) {
Expand Down

0 comments on commit ae710a3

Please sign in to comment.