diff options
author | Petr Svoboda <weits666@gmail.com> | 2016-04-19 00:49:21 +0200 |
---|---|---|
committer | Petr Svoboda <weits666@gmail.com> | 2016-04-19 00:49:21 +0200 |
commit | 465152023da05768d05c98e934ff32f2fc19a2d2 (patch) | |
tree | 2684043138a83d406f424a2405ae28091ee040ab /lib | |
parent | d0ad8e6e695ff18a7017caae88c97bed35adf92a (diff) | |
download | nextcloud-server-465152023da05768d05c98e934ff32f2fc19a2d2.tar.gz nextcloud-server-465152023da05768d05c98e934ff32f2fc19a2d2.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/view.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php index aac33a4598c..22e53a00706 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -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 { |