Commit 97201e85 authored by Dries's avatar Dries
Browse files

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

parent e27972be
......@@ -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();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment