Skip to content
This repository
Browse code

default options are lost in case of eg. validation error

  • Loading branch information...
commit cd2dca205c86c4da151417c6a74e568111795ec9 1 parent 6599422
authored February 28, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/Cake/View/Helper/FormHelper.php
2  lib/Cake/View/Helper/FormHelper.php
@@ -946,7 +946,7 @@ public function inputs($fields = null, $blacklist = null) {
946 946
 	public function input($fieldName, $options = array()) {
947 947
 		$this->setEntity($fieldName);
948 948
 
949  
-		$options = array_merge(
  949
+		$options = Set::merge(
950 950
 			array('before' => null, 'between' => null, 'after' => null, 'format' => null),
951 951
 			$this->_inputDefaults,
952 952
 			$options

0 notes on commit cd2dca2

Please sign in to comment.
Something went wrong with that request. Please try again.