summaryrefslogtreecommitdiff
path: root/modules/forum/forum.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-15 12:44:36 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-15 12:44:36 +0000
commit714597a9cdb42c3ca0df843f7f6a7351c6e06e39 (patch)
tree4e42239768111673ec7e8ae3181e7fa7339937c4 /modules/forum/forum.install
parent35e21e54e1122f98bede28f89d80f2fb13b3fd97 (diff)
downloadbrdo-714597a9cdb42c3ca0df843f7f6a7351c6e06e39.tar.gz
brdo-714597a9cdb42c3ca0df843f7f6a7351c6e06e39.tar.bz2
- Patch #470242 by yched, bjaspan: fixed namespacing for bundle names to avoid users rendering their site unusable.
Diffstat (limited to 'modules/forum/forum.install')
-rw-r--r--modules/forum/forum.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/forum/forum.install b/modules/forum/forum.install
index a21244947..1f4c72ba2 100644
--- a/modules/forum/forum.install
+++ b/modules/forum/forum.install
@@ -43,6 +43,7 @@ function forum_enable() {
$instance = array(
'field_name' => 'taxonomy_' . $vocabulary->machine_name,
+ 'object_type' => 'node',
'label' => $vocabulary->name,
'bundle' => 'forum',
'widget' => array(