Index: station_archive.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/station/archive/station_archive.install,v
retrieving revision 1.8
diff -u -p -u -r1.8 station_archive.install
--- station_archive.install	10 Aug 2007 17:13:15 -0000	1.8
+++ station_archive.install	30 Aug 2007 01:09:39 -0000
@@ -139,3 +139,17 @@ function station_archive_update_3() {
 function station_archive_update_100() {
   return array();
 }
+
+/**
+ * Correct the station archive's {vocabulary}.module value.
+ */
+function station_archive_update_5200() {
+  $ret = array();
+  switch ($GLOBALS['db_type']) {
+    case 'mysql':
+    case 'mysqli':
+      $ret[] = update_sql("UPDATE {vocabulary} SET module = 'station_archive' WHERE module = 'stationarchive'");
+      break;
+  }
+  return $ret;
+
Index: station_archive.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/station/archive/station_archive.module,v
retrieving revision 1.33
diff -u -p -u -r1.33 station_archive.module
--- station_archive.module	22 Aug 2007 04:56:21 -0000	1.33
+++ station_archive.module	30 Aug 2007 01:05:00 -0000
@@ -727,7 +727,7 @@ function _station_archive_get_vid() {
   $vid = variable_get('station_archive_vid', '');
   if (empty($vid)) {
     // Check to see if a stationarchive vocabulary exists
-    $vid = db_result(db_query("SELECT vid FROM {vocabulary} WHERE module = '%s'", 'stationarchive'));
+    $vid = db_result(db_query("SELECT vid FROM {vocabulary} WHERE module = '%s'", 'station_archive'));
     if (!$vid) {
       $vocab = array(
         'name' => 'Station Archive',
@@ -737,7 +737,7 @@ function _station_archive_get_vid() {
         'required' => 0,
         'hierarchy' => 1,
         'relations' => 0,
-        'module' => 'stationarchive',
+        'module' => 'station_archive',
         'nodes' => array('audio' => 1),
       );
       taxonomy_save_vocabulary($vocab);

