diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/connector/sabre/directory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/directory.php b/lib/private/connector/sabre/directory.php index 597fbdae0cc..1b6d1f363b8 100644 --- a/lib/private/connector/sabre/directory.php +++ b/lib/private/connector/sabre/directory.php @@ -84,7 +84,7 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node * @return void */ public function createDirectory($name) { - if (!$this->fileView->isCreatable($this->path)) { + if (!$this->info->isCreatable()) { throw new \Sabre\DAV\Exception\Forbidden(); } |