Skip to content

Commit

Permalink
Use FormHelper::input() inside FormHelper::controls()
Browse files Browse the repository at this point in the history
This ensures that if FormHelper::input() is overridden in a child class
customizations done in that are not lost.
  • Loading branch information
ADmad committed Jan 1, 2017
1 parent 74015d6 commit eb535f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/FormHelper.php
Expand Up @@ -953,7 +953,7 @@ public function controls(array $fields, array $options = [])
continue;
}

$out .= $this->control($name, (array)$opts);
$out .= $this->input($name, (array)$opts);
}

return $this->fieldset($out, $options);
Expand Down

0 comments on commit eb535f3

Please sign in to comment.