=== modified file 'modules/forum/forum.install'
--- modules/forum/forum.install	2008-12-20 18:24:32 +0000
+++ modules/forum/forum.install	2009-01-09 17:15:58 +0000
@@ -15,8 +15,7 @@ function forum_enable() {
   if ($vocabulary = taxonomy_vocabulary_load(variable_get('forum_nav_vocabulary', 0))) {
     // Existing install. Add back forum node type, if the forums
     // vocabulary still exists. Keep all other node types intact there.
-    $vocabulary = (array) $vocabulary;
-    $vocabulary['nodes']['forum'] = 1;
+    $vocabulary->nodes['forum'] = 1;
     taxonomy_vocabulary_save($vocabulary);
   }
   else {

