1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

For Handler: Fix for file 'multiple' attribute.

This commit is contained in:
Cameron
2016-03-29 17:58:18 -07:00
parent 2e6fa44aa2
commit 324be8ebdc

View File

@@ -1125,11 +1125,14 @@ class e_form
return e107::getRate()->renderLike($table,$id,$options);
}
/**
* File Upload form element.
* @param $name
* @param array $options (optional) array('multiple'=>1)
* @return string
*/
function file($name, $options = array())
{
$options = $this->format_options('file', $name, $options);
@@ -2611,7 +2614,8 @@ class e_form
'autocomplete' => '',
'maxlength' => '',
'wrap' => '',
'maxlength' => ''
'multiple' => '',
// 'multiple' => false, - see case 'select'
);