Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 09b0a40

Browse filesBrowse files
committed
Merge branch '2.3' into 2.4
* 2.3: [Form][2.3] Fixes empty file-inputs getting treated as extra field.
2 parents 52f8dc7 + 485efad commit 09b0a40
Copy full SHA for 09b0a40

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Form/Tests/CompoundFormTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/CompoundFormTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function testSubmitDoesNotAddExtraFieldForNullValues()
129129
$child = $factory->create('file', null, array('auto_initialize' => false));
130130

131131
$this->form->add($child);
132-
$this->form->submit(array('file' => null));
132+
$this->form->submit(array('file' => null), false);
133133

134134
$this->assertCount(0, $this->form->getExtraData());
135135
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.