Merge pull request #24446 from weits/cherry_webdav

solves problem with moving files via WebDAV
This commit is contained in:
Thomas Müller 2016-05-09 09:17:59 +02:00
commit a3bdcfbb90
1 changed files with 1 additions and 1 deletions

View File

@ -726,7 +726,7 @@ class View {
$result = false; $result = false;
} }
// moving a file/folder within the same mount point // moving a file/folder within the same mount point
} elseif ($storage1 == $storage2) { } elseif ($storage1 === $storage2) {
if ($storage1) { if ($storage1) {
$result = $storage1->rename($internalPath1, $internalPath2); $result = $storage1->rename($internalPath1, $internalPath2);
} else { } else {