Index: taxonomy_menu.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/taxonomy_menu/taxonomy_menu.module,v
retrieving revision 1.23.2.2
diff -u -p -r1.23.2.2 taxonomy_menu.module
--- taxonomy_menu.module	23 Dec 2010 15:40:54 -0000	1.23.2.2
+++ taxonomy_menu.module	30 Dec 2010 17:08:33 -0000
@@ -41,7 +41,7 @@ function taxonomy_menu_form_alter(&$form
 
     array_unshift($menu_items, '= DISABLED =');
 
-    // The vid isn't set when a new vocabolary is being created.
+    // The vid isn't set when a new vocabulary is being created.
     if (isset($form['vid']['#value'])) {
       $default = variable_get('taxonomy_menu_vocab_menu_' . $form['vid']['#value'], NULL) . ':' .
                  variable_get('taxonomy_menu_vocab_parent_' . $form['vid']['#value'], NULL);
@@ -109,6 +109,11 @@ function taxonomy_menu_vocab_submit($for
   // Split the menu location into menu name and menu item id.
   list($vocab_parent['vocab_menu'], $vocab_parent['vocab_parent']) = explode(':', $form_state['values']['taxonomy_menu']['vocab_parent']);
 
+  //Init flag variables to avoid notices if changes haven't happened
+  $changed_menu = FALSE;
+  $change_vocab_item = FALSE;
+  $changed_path = FALSE;
+
   // Set the menu name and check for changes
   $variable_name = _taxonomy_menu_build_variable('vocab_menu', $vid);
   if (_taxonomy_menu_check_variable($variable_name, $vocab_parent['vocab_menu'])) {
