Navigation Menu

Skip to content

Commit

Permalink
Updating FormHelper::create to use new inputDefaults() method
Browse files Browse the repository at this point in the history
  • Loading branch information
tigrang committed May 20, 2012
1 parent 1d77ad3 commit fd0dd7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/View/Helper/FormHelper.php
Expand Up @@ -346,7 +346,7 @@ public function create($model = null, $options = array()) {
'encoding' => strtolower(Configure::read('App.encoding')),
'inputDefaults' => array()),
$options);
$this->_inputDefaults = $options['inputDefaults'];
$this->inputDefaults($options['inputDefaults']);
unset($options['inputDefaults']);

if (!isset($options['id'])) {
Expand Down

0 comments on commit fd0dd7e

Please sign in to comment.