mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-29 20:59:23 +02:00
Merge pull request #2751 from axyr/patch-1
formHtmlContent() uses missing FormEncType() call
This commit is contained in:
commit
310e90d412
@ -1366,7 +1366,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…
Reference in New Issue
Block a user