Skip to content

Commit

Permalink
fix: use mtime 0 instead of NULL - Oracel fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Sep 15, 2021
1 parent 5fb41b0 commit 5d74544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/Cache/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ protected function buildParts(array $data) {
$value = $this->mimetypeLoader->getId($value);
} elseif ($name === 'storage_mtime') {
if (!$doNotCopyStorageMTime && !isset($data['mtime'])) {
$params[] = $value;
$params[] = $value ?? 0;
$queryParts[] = '`mtime`';
}
} elseif ($name === 'encrypted') {
Expand Down

0 comments on commit 5d74544

Please sign in to comment.