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

Commit 9d6f396

Browse files
committed
merged branch agiuliano/master (PR #547)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #547). Discussion ---------- Fix deprecated function In AcmeDemoController/contactAction there was the deprecated function $form->bind() instead of $form->submit() Commits ------- b83f3ba Fix deprecated function bind
2 parents 0dd159e + 2c71a70 commit 9d6f396

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)