Skip to content
Permalink
Browse files

Use FormHelper::input() inside FormHelper::controls()

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 eb535f38f21db5c76b2c8e280f4323e1a3e65a3c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/View/Helper/FormHelper.php
@@ -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);

0 comments on commit eb535f3

Please sign in to comment.
You can’t perform that action at this time.