diff options
Diffstat (limited to 'lib/private/files')
-rw-r--r-- | lib/private/files/cache/storage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/cache/storage.php b/lib/private/files/cache/storage.php index a116e84b3f2..88ceb287fb9 100644 --- a/lib/private/files/cache/storage.php +++ b/lib/private/files/cache/storage.php @@ -142,7 +142,7 @@ class Storage { public function getAvailability() { if ($row = self::getStorageById($this->storageId)) { return [ - 'available' => ($row['available'] === 1), + 'available' => ((int)$row['available'] === 1), 'last_checked' => $row['last_checked'] ]; } else { |