Permalink
Browse files

default options are lost in case of eg. validation error

  • Loading branch information...
1 parent 6599422 commit cd2dca205c86c4da151417c6a74e568111795ec9 Manu Cammaert committed Feb 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/View/Helper/FormHelper.php
View
2 lib/Cake/View/Helper/FormHelper.php
@@ -946,7 +946,7 @@ public function inputs($fields = null, $blacklist = null) {
public function input($fieldName, $options = array()) {
$this->setEntity($fieldName);
- $options = array_merge(
+ $options = Set::merge(
array('before' => null, 'between' => null, 'after' => null, 'format' => null),
$this->_inputDefaults,
$options

0 comments on commit cd2dca2

Please sign in to comment.