From eb535f38f21db5c76b2c8e280f4323e1a3e65a3c Mon Sep 17 00:00:00 2001 From: ADmad Date: Mon, 2 Jan 2017 00:56:22 +0530 Subject: [PATCH] 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. --- src/View/Helper/FormHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/View/Helper/FormHelper.php b/src/View/Helper/FormHelper.php index 1035c6e8ada..4524d977bbe 100644 --- a/src/View/Helper/FormHelper.php +++ b/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);