mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
FIX Remove form submission posts to UDFController/Form
This commit is contained in:
parent
eea60f66f1
commit
84c8592097
@ -128,7 +128,8 @@ class UserDefinedFormController extends PageController
|
|||||||
public function Form()
|
public function Form()
|
||||||
{
|
{
|
||||||
$form = UserForm::create($this, 'Form_' . $this->ID);
|
$form = UserForm::create($this, 'Form_' . $this->ID);
|
||||||
$form->setFormAction(Controller::join_links($this->Link(), Form::class));
|
/** @skipUpgrade */
|
||||||
|
$form->setFormAction(Controller::join_links($this->Link(), 'Form'));
|
||||||
$this->generateConditionalJavascript();
|
$this->generateConditionalJavascript();
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user