Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 2c71a70

Browse files
agiulianofabpot
authored andcommitted
Fix deprecated function bind
1 parent 0dd159e commit 2c71a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Acme/DemoBundle/Controller/DemoController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function contactAction()
4040

4141
$request = $this->get('request');
4242
if ($request->isMethod('POST')) {
43-
$form->bind($request);
43+
$form->submit($request);
4444
if ($form->isValid()) {
4545
$mailer = $this->get('mailer');
4646
// .. setup a message and send it

0 commit comments

Comments
 (0)