Index: category.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/category/category.module,v retrieving revision 1.124.2.2 diff -u -p -r1.124.2.2 category.module --- category.module 2 Feb 2007 08:04:05 -0000 1.124.2.2 +++ category.module 7 Feb 2007 16:16:12 -0000 @@ -1980,7 +1980,9 @@ function _category_node_select_options($ if ($tree) { foreach ($tree as $category) { if (!in_array($category->cid, $exclude) && node_access('view', node_load($category->cid))) { - $options[$category->cid] = str_repeat('-', $category->depth) . $category->title; + $choice = new stdClass(); + $choice->option = array($category->cid => str_repeat('-', $category->depth) . $category->title); + $options[] = $choice; } } if (!$blank && !$value) {