|
|
@@ -1531,7 +1531,8 @@ class FormHelper extends AppHelper {
|
|
|
$this->_secure($secure, array_merge($field, array($suffix)));
|
|
|
}
|
|
|
|
|
|
- return $this->Html->useTag('file', $options['name'], array_diff_key($options, array('name' => '')));
|
|
|
+ $exclude = array('name' => '', 'value' => '');
|
|
|
+ return $this->Html->useTag('file', $options['name'], array_diff_key($options, $exclude));
|
|
|
}
|
|
|
|
|
|
/**
|