mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Merge pull request #39698 from joshtrichards/invalid-source-storage-path-catch
This commit is contained in:
commit
b27a2e9ec5
1 changed files with 1 additions and 1 deletions
|
|
@ -668,7 +668,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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue