diff --git a/src/View/Helper/FormHelper.php b/src/View/Helper/FormHelper.php index c5e90816528..aba2836db3c 100644 --- a/src/View/Helper/FormHelper.php +++ b/src/View/Helper/FormHelper.php @@ -1043,6 +1043,7 @@ public function input($fieldName, array $options = []) $nestedInput = true; } $nestedInput = isset($options['nestedInput']) ? $options['nestedInput'] : $nestedInput; + unset($options['nestedInput']); if ($nestedInput === true && $options['type'] === 'checkbox' && !array_key_exists('hiddenField', $options) && $label !== false) { $options['hiddenField'] = '_split';