Skip to content

Commit

Permalink
Merge pull request #39698 from joshtrichards/invalid-source-storage-p…
Browse files Browse the repository at this point in the history
…ath-catch
  • Loading branch information
skjnldsv authored Aug 5, 2023
2 parents 38278fc + 7b7d1e3 commit b27a2e9
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 @@ -668,7 +668,7 @@ public function moveFromCache(ICache $sourceCache, $sourcePath, $targetPath) {
$targetPath = $this->normalize($targetPath);

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

Expand Down

0 comments on commit b27a2e9

Please sign in to comment.