From 72501e54df0e0de2e9690f69bdf84d5517e60966 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 12 Feb 2007 17:47:08 +0000 Subject: - Patch #115667 by rotzi: added versioning support to node terms. --- modules/forum/forum.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/forum') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 31103456b..c3cf18cf3 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -396,7 +396,7 @@ function forum_form(&$node) { $form['title'] = array('#type' => 'textfield', '#title' => check_plain($type->title_label), '#default_value' => !empty($node->title) ? $node->title : '', '#required' => TRUE, '#weight' => -5); if (!empty($node->nid)) { - $forum_terms = taxonomy_node_get_terms_by_vocabulary(_forum_get_vid(), $node->nid); + $forum_terms = taxonomy_node_get_terms_by_vocabulary(_forum_get_vid(), $node); // if editing, give option to leave shadows $shadow = (count($forum_terms) > 1); $form['shadow'] = array('#type' => 'checkbox', '#title' => t('Leave shadow copy'), '#default_value' => $shadow, '#description' => t('If you move this topic, you can leave a link in the old forum to the new forum.')); -- cgit v1.2.3