Index: betterselect.module =================================================================== --- betterselect.module (revision 95) +++ betterselect.module (working copy) @@ -232,9 +232,9 @@ $options[$tid] = $tid; // Save lineage - automatically select all parents. if (variable_get('betterselect_save_lineage', FALSE)) { - $parents = taxonomy_get_parents($tid); + $parents = taxonomy_get_parents_all($tid); foreach ($parents as $key => $val) { - $options[$key] = $key; + $options[$val->tid] = $val->tid; } } }