Skip to content
Permalink
Browse files

remove default values for vanilla behaivor

  • Loading branch information...
Jonas Hartmann
Jonas Hartmann committed Jul 17, 2016
1 parent 4bbd72e commit 48bd343eb570f207f6e4d9bbaa6bc7dc8386c100
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/View/Helper/FormHelper.php
@@ -359,14 +359,14 @@ public function create($model = null, array $options = [])
'encoding' => strtolower(Configure::read('App.encoding')),
'templates' => null,
'idPrefix' => null,
'values' => ['data', 'context'],
'valuesSources' => [],
];
if (isset($options['action'])) {
trigger_error('Using key `action` is deprecated, use `url` directly instead.', E_USER_DEPRECATED);
}
$this->setValuesSources($options['values']);
$this->setValuesSources($options['valuesSources']);
if ($options['idPrefix'] !== null) {
$this->_idPrefix = $options['idPrefix'];

0 comments on commit 48bd343

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