diff --git a/taxonomy_breadcrumb.module b/taxonomy_breadcrumb.module
index 0964148..1f44d26 100644
--- a/sites/all/modules/taxonomy_breadcrumb/taxonomy_breadcrumb.module
+++ b/sites/all/modules/taxonomy_breadcrumb/taxonomy_breadcrumb.module
@@ -128,7 +128,7 @@ function taxonomy_breadcrumb_form_taxonomy_form_vocabulary_alter(&$form, &$form_
   $form['taxonomy_breadcrumb_path'] = array(
     '#type' => 'textfield',
     '#title' => t('Breadcrumb path (taxonomy_breadcrumb)'),
-    '#default_value' => _taxonomy_breadcrumb_get_vocabulary_path($form['vid']['#value']),
+    '#default_value' => isset($form['vid']['#value']) ? _taxonomy_breadcrumb_get_vocabulary_path($form['vid']['#value']) : '',
     '#maxlength' => 128,
     '#description' => t("Specify the path this vocabulary links to as a breadcrumb. If blank, the breadcrumb will not appear. Use a relative path and don't add a trailing slash. For example: node/42 or my/path/alias."),
     '#weight' => 0,
