From cd0ce0c175507477f9eff2c9120cbf2587793d58 Mon Sep 17 00:00:00 2001
From: Josh Walker <josh@marmaladesoul.com>
Date: Fri, 15 Feb 2013 14:17:45 -0800
Subject: [PATCH] fix vocab form id

---
 modules/callbacks.inc |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/callbacks.inc b/modules/callbacks.inc
index dca9e1d..8a7a444 100644
--- a/modules/callbacks.inc
+++ b/modules/callbacks.inc
@@ -892,11 +892,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.9.6 (Apple Git-31.1)

