Skip to content

Commit

Permalink
Update FilesystemManager.php
Browse files Browse the repository at this point in the history
Added isset check
  • Loading branch information
LasseRafn committed May 31, 2016
1 parent ccd353d commit 9a6c830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Filesystem/FilesystemManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public function createS3Driver(array $config)
$root = isset($s3Config['root']) ? $s3Config['root'] : null;

return $this->adapt($this->createFlysystem(
new S3Adapter(new S3Client($s3Config), $s3Config['bucket'], $root, $config['options'] ?: []), $config
new S3Adapter(new S3Client($s3Config), $s3Config['bucket'], $root, isset($config['options']) ? $config['options'] : []), $config
));
}

Expand Down

0 comments on commit 9a6c830

Please sign in to comment.