Skip to content

Commit bb06aad

Browse files
authored
Merge pull request #39722 from nextcloud/backport/39698/stable27
2 parents 58f1fff + 0638f58 commit bb06aad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/Cache/Cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ public function moveFromCache(ICache $sourceCache, $sourcePath, $targetPath) {
681681
$targetPath = $this->normalize($targetPath);
682682

683683
$sourceData = $sourceCache->get($sourcePath);
684-
if ($sourceData === false) {
684+
if (!$sourceData) {
685685
throw new \Exception('Invalid source storage path: ' . $sourcePath);
686686
}
687687

0 commit comments

Comments
 (0)