diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-07-12 18:15:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-07-12 18:15:48 +0000 |
commit | 97201e8529cadbb4f9f5c6beb20f3d684510ad40 (patch) | |
tree | f7770abb44c7dafca762c0662e88e18c6f816020 /modules/taxonomy/taxonomy.module | |
parent | e27972be520d3f7579d0cde9f4e02e10d068aeb5 (diff) | |
download | brdo-97201e8529cadbb4f9f5c6beb20f3d684510ad40.tar.gz brdo-97201e8529cadbb4f9f5c6beb20f3d684510ad40.tar.bz2 |
- Patch #158437 by AjK: taxonomy terms loose parent info on edit.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 106fb675f..a00f33815 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -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(); } |