Skip to content
This repository has been archived by the owner on Dec 21, 2018. It is now read-only.

Commit

Permalink
Reverting #9 until more clarification.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulredmond committed Mar 6, 2013
1 parent 206e117 commit 5f65ff9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions View/Helper/ChosenHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ public function select($name, $options = array(), $attributes = array())
$attributes['class'] .= " {$class}";
}

$attributes = array_merge($attributes, array('options' => $options, 'type' => 'select', 'div' => false, 'label' => false, 'empty' => true));

return $this->Form->input($name, $attributes);
return $this->Form->select($name, $options, $attributes);
}

public function afterRender($viewFile)
Expand Down

0 comments on commit 5f65ff9

Please sign in to comment.