diff options
Diffstat (limited to 'lib/private/Files/Node/Folder.php')
-rw-r--r-- | lib/private/Files/Node/Folder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Node/Folder.php b/lib/private/Files/Node/Folder.php index 2e061bd4cc6..c5e1776dc18 100644 --- a/lib/private/Files/Node/Folder.php +++ b/lib/private/Files/Node/Folder.php @@ -189,7 +189,7 @@ class Folder extends Node implements \OCP\Files\Folder { } else { $result = $this->view->touch($fullPath); } - if (!$result) { + if ($result === false) { throw new NotPermittedException('Could not create path'); } $node = new File($this->root, $this->view, $fullPath); |