diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-02-12 17:47:08 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-02-12 17:47:08 +0000 |
commit | 72501e54df0e0de2e9690f69bdf84d5517e60966 (patch) | |
tree | ef620ce86538ae90770002deb9b87a25a8ec9754 /modules/forum | |
parent | 35ce6daa28cdc6d687a6cef1b009d67348946a21 (diff) | |
download | brdo-72501e54df0e0de2e9690f69bdf84d5517e60966.tar.gz brdo-72501e54df0e0de2e9690f69bdf84d5517e60966.tar.bz2 |
- Patch #115667 by rotzi: added versioning support to node terms.
Diffstat (limited to 'modules/forum')
-rw-r--r-- | modules/forum/forum.module | 2 |
1 files changed, 1 insertions, 1 deletions
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.')); |