Browse Source

Explicitly cast number to integer

remotes/origin/db-empty-migrate
Robin McCorkell 10 years ago
parent
commit
a0094d28f1
  1. 2
      lib/private/files/cache/storage.php

2
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 {

Loading…
Cancel
Save