solves problem with moving files via WebDAV

When moving files via WebDAV I sometimes got 

PHP Fatal error:  Nesting level too deep - recursive dependency? in /var/www/owncloud/lib/private/files/view.php on line 729

This small change has fixed the problem for me
This commit is contained in:
Petr Svoboda 2016-04-19 00:49:21 +02:00
parent d0ad8e6e69
commit 465152023d
1 changed files with 1 additions and 1 deletions

View File

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