From 2b5ee2154cf1c444a0c0e3a05c889fc655e3874a Mon Sep 17 00:00:00 2001 From: Josh Walker Date: Wed, 25 Sep 2013 21:39:48 -0400 Subject: [PATCH] Issue #1918644 by sonictruth, Alexander Allen: Incorrect form id in entity_metadata_form_taxonomy_vocabulary(). --- modules/callbacks.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/callbacks.inc b/modules/callbacks.inc index e4da18f..e8a2660 100644 --- a/modules/callbacks.inc +++ b/modules/callbacks.inc @@ -915,11 +915,11 @@ function entity_metadata_form_taxonomy_term($term) { /** * Callback to get the form of a vocabulary. */ -function entity_metadata_form_taxonomy_vocabulary($term) { +function entity_metadata_form_taxonomy_vocabulary($vocab) { // Pre-populate the form-state with the right form include. - $form_state['build_info']['args'] = array($term); + $form_state['build_info']['args'] = array($vocab); form_load_include($form_state, 'inc', 'taxonomy', 'taxonomy.admin'); - return drupal_build_form('taxonomy_form_term', $form_state); + return drupal_build_form('taxonomy_form_vocabulary', $form_state); } /** -- 1.7.11.1