Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

default options are lost in case of eg. validation error

  • Loading branch information...
commit cd2dca205c86c4da151417c6a74e568111795ec9 1 parent 6599422
Manu Cammaert authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/View/Helper/FormHelper.php
2  lib/Cake/View/Helper/FormHelper.php
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.