Skip to content
Snippets Groups Projects
Commit 8af52e38 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

fixes #15326

parent b9eaa386
Branches
No related tags found
No related merge requests found
...@@ -762,7 +762,9 @@ class View { ...@@ -762,7 +762,9 @@ class View {
if (is_resource($dh)) { if (is_resource($dh)) {
while (($file = readdir($dh)) !== false) { while (($file = readdir($dh)) !== false) {
if (!Filesystem::isIgnoredDir($file)) { if (!Filesystem::isIgnoredDir($file)) {
$result = $this->copy($path1 . '/' . $file, $path2 . '/' . $file, $preserveMtime); if (!$this->copy($path1 . '/' . $file, $path2 . '/' . $file, $preserveMtime)) {
$result = false;
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment