Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Bundles Symfony 2
file-upload-bundle
Commits
b70b8049
Commit
b70b8049
authored
Jul 25, 2018
by
Guillaume Perréal
Browse files
Correction d'une erreur dans FileManager::create.
parent
2cebc11b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Service/FileManager.php
View file @
b70b8049
...
...
@@ -125,8 +125,9 @@ final class FileManager implements FileManagerInterface
array_unshift
(
$metadata
[
'duplicateOf'
],
$original
->
getId
());
}
$new
->
setFilesystem
(
$this
->
filesystem
);
$new
->
setFilesystem
(
$this
->
filesystem
)
->
setMetadata
(
$metadata
)
->
setDisplayName
(
$original
->
getDisplayName
())
->
setDescription
(
$original
->
getDescription
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment