Skip to content

Commit b892f48

Browse files
committed
bug #5449 Ensure that the entity is updated. (yceruto)
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #5449). Discussion ---------- Ensure that the entity is updated. | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | All | Fixed tickets | #5448 Commits ------- f44cccf Ensure that the entity is updated.
2 parents 1019b90 + f44cccf commit b892f48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cookbook/doctrine/file_uploads.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ property, instead of the actual filename::
494494
if (is_file($this->getAbsolutePath())) {
495495
// store the old name to delete after the update
496496
$this->temp = $this->getAbsolutePath();
497+
$this->path = null;
497498
} else {
498499
$this->path = 'initial';
499500
}

0 commit comments

Comments
 (0)