eee
This commit is contained in:
@@ -15,7 +15,7 @@ class ArrayProxy extends TypesProxy
|
|||||||
*/
|
*/
|
||||||
public function dispatch(object $form, string $field, mixed $value): bool
|
public function dispatch(object $form, string $field, mixed $value): bool
|
||||||
{
|
{
|
||||||
if (is_null($value)) {
|
if (empty($value)) {
|
||||||
$form->{$field} = !$this->allowsNull ? [] : null;
|
$form->{$field} = !$this->allowsNull ? [] : null;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user