Skip to content
Permalink
Browse files

Updating FormHelper::create to use new inputDefaults() method

  • Loading branch information...
tigrang committed May 20, 2012
1 parent 1d77ad3 commit fd0dd7ec041beb987b9a1236feaa35b29c26b4de
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/View/Helper/FormHelper.php
@@ -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'])) {

0 comments on commit fd0dd7e

Please sign in to comment.
You can’t perform that action at this time.