Permalink
Browse files

remove 'empty' option from once checked

  • Loading branch information...
1 parent 00b2c49 commit a7a55631d85c27910fb574631a546866b77dac1d @challet challet committed with markstory Mar 21, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/View/Helper/FormHelper.php
@@ -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'])) {

0 comments on commit a7a5563

Please sign in to comment.