Skip to content
Snippets Groups Projects
Commit 370de930 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #89044 by beginner: cannot edit parent term.

parent 875e99be
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -1308,7 +1308,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', $term['vid'], $term);
}
return drupal_not_found();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment