From 117b284fd493834468292e30ac4beddd1668083c Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 10 Jan 2009 05:32:30 +0000 Subject: #356749 by chx: Fix cruft in forum_install(). --- modules/forum/forum.install | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/forum') diff --git a/modules/forum/forum.install b/modules/forum/forum.install index 9daac0310..51dc90316 100644 --- a/modules/forum/forum.install +++ b/modules/forum/forum.install @@ -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 { -- cgit v1.2.3