summaryrefslogtreecommitdiff
path: root/modules/tracker
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-10-07 19:25:57 +0000
committerDries Buytaert <dries@buytaert.net>2007-10-07 19:25:57 +0000
commitca8e9a1e181ed29ab33fbd7a5d665710869e9d23 (patch)
tree2d20b49d34fda1122eca425efd7990ddb6c1eb03 /modules/tracker
parentafb7bf85fe940afe86cd1899bd0dbd3d3212ade8 (diff)
downloadbrdo-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/tracker')
-rw-r--r--modules/tracker/tracker.pages.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tracker/tracker.pages.inc b/modules/tracker/tracker.pages.inc
index 6a25d60d5..2e48199fc 100644
--- a/modules/tracker/tracker.pages.inc
+++ b/modules/tracker/tracker.pages.inc
@@ -57,7 +57,7 @@ function tracker_page($uid = 0) {
if ($new = comment_num_new($node->nid)) {
$comments .= '<br />';
- $comments .= l(format_plural($new, '1 new', '@count new'), "node/$node->nid", array('query' => comment_new_page_count($node->comment_count, $new, $node->nid), 'fragment' => 'new'));
+ $comments .= l(format_plural($new, '1 new', '@count new'), "node/$node->nid", array('query' => comment_new_page_count($node->comment_count, $new, $node), 'fragment' => 'new'));
}
}