diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-10-07 19:25:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-10-07 19:25:57 +0000 |
commit | ca8e9a1e181ed29ab33fbd7a5d665710869e9d23 (patch) | |
tree | 2d20b49d34fda1122eca425efd7990ddb6c1eb03 /modules/forum | |
parent | afb7bf85fe940afe86cd1899bd0dbd3d3212ade8 (diff) | |
download | brdo-ca8e9a1e181ed29ab33fbd7a5d665710869e9d23.tar.gz brdo-ca8e9a1e181ed29ab33fbd7a5d665710869e9d23.tar.bz2 |
- Patch #180432 by hunmonk, sun, et al: make comment settings per node type. This is a new feature that slipped in because it is required for the project module on drupal.org.
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 01c631c8e..7f53a94f8 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -813,7 +813,7 @@ function template_preprocess_forum_topic_list(&$variables) { $variables['topics'][$id]->new_url = ''; if ($topic->new_replies) { $variables['topics'][$id]->new_text = t('!count new', array('!count' => $variables['forums'][$id]->new_topics)); - $variables['topics'][$id]->new_url = url("node/$topic->nid", array('query' => comment_new_page_count($topic->num_comments, $topic->new_replies, $topic->nid), 'fragment' => 'new')); + $variables['topics'][$id]->new_url = url("node/$topic->nid", array('query' => comment_new_page_count($topic->num_comments, $topic->new_replies, $topic), 'fragment' => 'new')); } } |