formHtmlContent() uses missing FormEncType() call

it needs to call $this->getEncType() instead..
This commit is contained in:
Martijn 2014-01-02 10:44:00 +01:00
parent 1c6bea9bb5
commit 180bae826a

View File

@ -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;
}