[Pkg-owncloud-commits] [owncloud] 11/18: fixes #15326

David Prévot taffit at moszumanska.debian.org
Thu Apr 16 02:06:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 7a3b4b464e2b2c95445fcef7563a4086ebcbc707
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date:   Thu Apr 9 15:37:00 2015 +0200

    fixes #15326
---
 lib/private/files/view.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index b5ad425..b58a8c2 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -639,7 +639,9 @@ class View {
 						if (is_resource($dh)) {
 							while (($file = readdir($dh)) !== false) {
 								if (!Filesystem::isIgnoredDir($file)) {
-									$result = $this->copy($path1 . '/' . $file, $path2 . '/' . $file, $preserveMtime);
+									if (!$this->copy($path1 . '/' . $file, $path2 . '/' . $file, $preserveMtime)) {
+										$result = false;
+									}
 								}
 							}
 						}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list