mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
formHtmlContent() uses missing FormEncType() call
it needs to call $this->getEncType() instead..
This commit is contained in:
parent
1c6bea9bb5
commit
180bae826a
@ -1351,7 +1351,7 @@ class Form extends RequestHandler {
|
||||
. " value=\"" . $this->FormAction() . "\" />\n";
|
||||
$content .= "<input type=\"hidden\" name=\"_form_name\" value=\"" . $this->FormName() . "\" />\n";
|
||||
$content .= "<input type=\"hidden\" name=\"_form_method\" value=\"" . $this->FormMethod() . "\" />\n";
|
||||
$content .= "<input type=\"hidden\" name=\"_form_enctype\" value=\"" . $this->FormEncType() . "\" />\n";
|
||||
$content .= "<input type=\"hidden\" name=\"_form_enctype\" value=\"" . $this->getEncType() . "\" />\n";
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user