summaryrefslogtreecommitdiff
path: root/modules/tracker.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-11-15 11:16:39 +0000
committerDries Buytaert <dries@buytaert.net>2004-11-15 11:16:39 +0000
commit9979aceab035616297b1ba95ec33c9905a4fed2b (patch)
tree37679df887bb271ddee3ba22f91a305c9ad6b40f /modules/tracker.module
parentc13abe16555a8a7f70021dae0cf9f3dd20e6c83d (diff)
downloadbrdo-9979aceab035616297b1ba95ec33c9905a4fed2b.tar.gz
brdo-9979aceab035616297b1ba95ec33c9905a4fed2b.tar.bz2
- Patch #12783 by Stefan: various small consistency/usability improvements.
Diffstat (limited to 'modules/tracker.module')
-rw-r--r--modules/tracker.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tracker.module b/modules/tracker.module
index f18b43f66..f31389a80 100644
--- a/modules/tracker.module
+++ b/modules/tracker.module
@@ -72,7 +72,7 @@ function tracker_page($uid = 0) {
else {
$result = pager_query('SELECT n.nid, n.title, n.type, n.changed, n.uid, u.name, l.last_comment_timestamp AS last_post, l.comment_count FROM {node} n '. node_access_join_sql() .' INNER JOIN {users} u ON n.uid = u.uid INNER JOIN {node_comment_statistics} l ON n.nid = l.nid WHERE n.status = 1 AND '. node_access_where_sql() .' ORDER BY last_post DESC', 25, 0, 'SELECT COUNT(n.nid) FROM {node} n '. node_access_join_sql() .' WHERE n.status = 1 AND '. node_access_where_sql());
}
-
+
while ($node = db_fetch_object($result)) {
// Determine the number of comments:
$comments = 0;
@@ -95,7 +95,7 @@ function tracker_page($uid = 0) {
}
if ($pager = theme('pager', NULL, 25, 0)) {
- $rows[] = array(array('data' => $pager, 'colspan' => 5));
+ $rows[] = array(array('data' => $pager, 'colspan' => '5'));
}
$header = array(t('Type'), t('Post'), t('Author'), t('Replies'), t('Last post'));