We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89ba8c6 commit 55ad6c1Copy full SHA for 55ad6c1
lib/private/Files/Cache/Cache.php
@@ -416,7 +416,7 @@ public function getId($file) {
416
$sql = 'SELECT `fileid` FROM `*PREFIX*filecache` WHERE `storage` = ? AND `path_hash` = ?';
417
$result = $this->connection->executeQuery($sql, array($this->getNumericStorageId(), $pathHash));
418
if ($row = $result->fetch()) {
419
- return $row['fileid'];
+ return (int)$row['fileid'];
420
} else {
421
return -1;
422
}
0 commit comments