diff --git a/lib/private/files/objectstore/swift.php b/lib/private/files/objectstore/swift.php index 71aae23bb5a30f3e6aa5dd0e25beee3e4a0e2a07..3378fd7b86faa66712b456d19127c5b90a49e2a3 100644 --- a/lib/private/files/objectstore/swift.php +++ b/lib/private/files/objectstore/swift.php @@ -80,7 +80,7 @@ class Swift implements IObjectStore { $this->container = $this->objectStoreService->getContainer($this->params['container']); } catch (ClientErrorResponseException $ex) { // if the container does not exist and autocreate is true try to create the container on the fly - if (isset($params['autocreate']) && $params['autocreate'] === true) { + if (isset($this->params['autocreate']) && $this->params['autocreate'] === true) { $this->container = $this->objectStoreService->createContainer($this->params['container']); } else { throw $ex;