diff options
-rw-r--r-- | lib/private/Files/Storage/Wrapper/Quota.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Quota.php b/lib/private/Files/Storage/Wrapper/Quota.php index a7d5f3101fe..860fce57277 100644 --- a/lib/private/Files/Storage/Wrapper/Quota.php +++ b/lib/private/Files/Storage/Wrapper/Quota.php @@ -202,7 +202,8 @@ class Quota extends Wrapper { } public function mkdir($path) { - if ($this->quota === 0.0) { + $free = $this->free_space($path); + if ($free === 0.0) { return false; } |