[Form] fixed Form::bind() when no values are submitted
This commit is contained in:
parent
bb51e7cb26
commit
c53ebe7a8e
@ -177,6 +177,10 @@ class Form extends FieldGroup
|
||||
$taintedFiles = self::convertFileInformation(self::fixPhpFilesArray($taintedFiles));
|
||||
}
|
||||
|
||||
if (null === $taintedValues) {
|
||||
$taintedValues = array();
|
||||
}
|
||||
|
||||
$this->doBind(self::deepArrayUnion($taintedValues, $taintedFiles));
|
||||
|
||||
if ($this->getParent() === null) {
|
||||
|
Reference in New Issue
Block a user