diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-05-19 15:04:41 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-05-19 15:04:41 -0400 |
commit | fc5bce1f76a3a67a4ac9095d15441e363dfd03d1 (patch) | |
tree | 4681518425a816bf6637fff3156c139f55ef54c9 /lib/files | |
parent | e9b71eed691050e23d78910abdd8bf313f2f83cb (diff) | |
download | nextcloud-server-fc5bce1f76a3a67a4ac9095d15441e363dfd03d1.tar.gz nextcloud-server-fc5bce1f76a3a67a4ac9095d15441e363dfd03d1.zip |
Fix undefined variable for copying empty folders
Diffstat (limited to 'lib/files')
-rw-r--r-- | lib/files/view.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/view.php b/lib/files/view.php index 875a6c1a1f8..8a37a0bcc62 100644 --- a/lib/files/view.php +++ b/lib/files/view.php @@ -467,7 +467,7 @@ class View { } } else { if ($this->is_dir($path1) && ($dh = $this->opendir($path1))) { - $this->mkdir($path2); + $result = $this->mkdir($path2); while ($file = readdir($dh)) { if (!Filesystem::isIgnoredDir($file)) { $result = $this->copy($path1 . '/' . $file, $path2 . '/' . $file); |