diff --git a/lib/private/files/storage/wrapper/availability.php b/lib/private/files/storage/wrapper/availability.php index 37319a8f7d..d6ce78f6e4 100644 --- a/lib/private/files/storage/wrapper/availability.php +++ b/lib/private/files/storage/wrapper/availability.php @@ -220,6 +220,9 @@ class Availability extends Wrapper { /** {@inheritdoc} */ public function file_exists($path) { + if ($path === '') { + return true; + } $this->checkAvailability(); try { return parent::file_exists($path);