* PrinterRootForm.php:
(BSPrinterRootForm::paint): Use the proper enctype
+3.1.3
+===================
+- Fixed: BSPrinterRootForm's marked as ::setUpload() would not have the right enctype set
+
3.1.2
===================
- Fixed: BSDb::query() would not generate a Result object for explain, show, and describe queries
{
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>";
}
}