Merge pull request #2751 from axyr/patch-1

formHtmlContent() uses missing FormEncType() call
This commit is contained in:
Simon Welsh 2014-03-15 21:12:44 +13:00
commit 310e90d412

View File

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