Skip to content

Commit 5f65b1e

Browse files
committed
minor #60285 [Form][HttpFoundation] Fix overwriting an array element (wkania)
This PR was merged into the 6.4 branch. Discussion ---------- [Form][HttpFoundation] Fix overwriting an array element | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT `empty_data` is overwritten in the line 51-52 `$server['SCRIPT_NAME']` is assigned twice with the same value: line 609 and 610 line 734 and 737 Commits ------- d49a058bd4d Fix overwriting an array element
2 parents 44a0e25 + 02275ed commit 5f65b1e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Extension/Core/Type/WeekType.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public function buildForm(FormBuilderInterface $builder, array $options)
4242
} else {
4343
$yearOptions = $weekOptions = [
4444
'error_bubbling' => true,
45-
'empty_data' => '',
4645
];
4746
// when the form is compound the entries of the array are ignored in favor of children data
4847
// so we need to handle the cascade setting here

0 commit comments

Comments
 (0)