- Patch #158437 by AjK: taxonomy terms loose parent info on edit.

6.x
Dries Buytaert 2007-07-12 18:15:48 +00:00
parent e27972be52
commit 97201e8529
1 changed files with 1 additions and 1 deletions

View File

@ -1458,7 +1458,7 @@ function taxonomy_admin_term_edit($tid) {
return drupal_get_form('taxonomy_term_confirm_delete', $tid);
}
if ($term = (array)taxonomy_get_term($tid)) {
return drupal_get_form('taxonomy_form_term', $term['vid'], $term);
return drupal_get_form('taxonomy_form_term', taxonomy_vocabulary_load($term['vid']), $term);
}
return drupal_not_found();
}