{
array_push($this->children, new BSPrinterElement('hidden', 'do', $this->do));
- return "\n<form name=\"" . $this->name . "\" action=\"" . $this->action . "\" method=\"post\"" . ($this->upload ? ' enctype="mime/multi-part"' : '') . ">\n" . $this->_paintChildren() . "\n</form>";
+ return "\n<form name=\"" . $this->name . "\" action=\"" . $this->action . "\" method=\"post\"" . ($this->upload ? ' enctype="multipart/form-data"' : '') . ">\n" . $this->_paintChildren() . "\n</form>";
}
}