Index: simpleviews.pages.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simpleviews/simpleviews.pages.inc,v
retrieving revision 1.3
diff -u -p -r1.3 simpleviews.pages.inc
--- simpleviews.pages.inc	26 Sep 2008 19:28:12 -0000	1.3
+++ simpleviews.pages.inc	23 Oct 2008 06:26:52 -0000
@@ -141,7 +141,7 @@ function simpleviews_form(&$form_state, 
       '#submit' => array('simpleviews_form_delete'),
     );
   }
-  
+
   return $form;
 }
 
@@ -238,8 +238,11 @@ function _simpleviews_form($simpleview =
     ),
     '#default_value' => $simpleview['argument'],
   );
-  foreach (taxonomy_get_vocabularies() as $key => $vocab) {
-    $form['argument']['argument']['#options']['term:' . $vocab->vid] = "The post's $vocab->name";
+  
+  if (module_exists('taxonomy')) {
+    foreach (taxonomy_get_vocabularies() as $key => $vocab) {
+      $form['argument']['argument']['#options']['term:' . $vocab->vid] = "The post's $vocab->name";
+    }
   }
 
   $form['rss'] = array(
@@ -247,7 +250,7 @@ function _simpleviews_form($simpleview =
     '#title' => t('Add an RSS feed'),
     '#default_value' => $simpleview['rss'],
   );
-  
+
   $form['block'] = array(
     '#type' => 'checkbox',
     '#title' => t('Create a sidebar widget'),
@@ -255,7 +258,7 @@ function _simpleviews_form($simpleview =
   );
 
   drupal_alter('simpleview_reusable_form', $form, $simpleview);
-  
+
   return $form;
 }
 
