Index: modules/taxonomy/taxonomy.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/taxonomy/taxonomy.module,v
retrieving revision 1.477
diff -r1.477 taxonomy.module
687a688,691
>       // Our taxonomy term has already been converted to an object, leave it as is
>       elseif (is_object($term)) {
>         $taxonomy[(int) $term->tid] = $term;
>       }
