Skip to content
Permalink
Browse files

Applying optimization from 'Ceeram' reduces merges in FormHelper.

Fixes #225
  • Loading branch information...
markstory committed Oct 29, 2009
1 parent 84ec53a commit 8b26d9ceb296fe2defa423397e07621f55edb054
Showing with 0 additions and 2 deletions.
  1. +0 −2 cake/libs/view/helpers/form.php
@@ -632,8 +632,6 @@ function input($fieldName, $options = array()) {
$this->_inputDefaults,
$options
);
$defaults = array('before' => null, 'between' => null, 'after' => null);
$options = array_merge($defaults, $options);
if (!isset($this->fieldset[$this->model()])) {
//Try to load fieldset for this model

0 comments on commit 8b26d9c

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