Merge pull request #39722 from nextcloud/backport/39698/stable27

This commit is contained in:
John Molakvoæ 2023-08-11 09:05:22 +02:00 committed by GitHub
commit bb06aadda9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -681,7 +681,7 @@ class Cache implements ICache {
$targetPath = $this->normalize($targetPath);
$sourceData = $sourceCache->get($sourcePath);
if ($sourceData === false) {
if (!$sourceData) {
throw new \Exception('Invalid source storage path: ' . $sourcePath);
}