Skip to content

Commit

Permalink
remove 'empty' option from once checked
Browse files Browse the repository at this point in the history
  • Loading branch information
challet authored and markstory committed Apr 7, 2012
1 parent 00b2c49 commit a7a5563
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/View/Helper/FormHelper.php
Expand Up @@ -1360,6 +1360,7 @@ public function radio($fieldName, $options = array(), $attributes = array()) {
$options[''] = $showEmpty;
$options = array_reverse($options, true);
}
unset($attributes['empty']);

$legend = false;
if (isset($attributes['legend'])) {
Expand Down

0 comments on commit a7a5563

Please sign in to comment.