We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7465a0a commit a1f23c2Copy full SHA for a1f23c2
lib/private/Files/Mount/Manager.php
@@ -59,8 +59,10 @@ public function removeMount(string $mountPoint): void {
59
}
60
61
public function moveMount(string $mountPoint, string $target): void {
62
- $this->mounts[$target] = $this->mounts[$mountPoint];
63
- unset($this->mounts[$mountPoint]);
+ if (isset($this->mounts[$mountPoint])) {
+ $this->mounts[$target] = $this->mounts[$mountPoint];
64
+ unset($this->mounts[$mountPoint]);
65
+ }
66
$this->pathCache->clear();
67
$this->inPathCache->clear();
68
$this->areMountsSorted = false;
0 commit comments