fixes #15326
This commit is contained in:
parent
b9eaa386c4
commit
8af52e3876
1 changed files with 3 additions and 1 deletions
|
@ -762,7 +762,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue