summaryrefslogtreecommitdiff
path: root/account.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-03-25 16:51:08 +0000
committerDries Buytaert <dries@buytaert.net>2001-03-25 16:51:08 +0000
commitf4deafca9e6b3b8b720a0b4a369738461c669112 (patch)
treefc0056d845c96f770796e154f0be6cf021747b01 /account.php
parent5fb307f5bf4d39a4492671ac6223bd65492a1b16 (diff)
downloadbrdo-f4deafca9e6b3b8b720a0b4a369738461c669112.tar.gz
brdo-f4deafca9e6b3b8b720a0b4a369738461c669112.tar.bz2
- refactoring, refactoring, refactoring
Diffstat (limited to 'account.php')
-rw-r--r--account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/account.php b/account.php
index 791987ae7..3810aca05 100644
--- a/account.php
+++ b/account.php
@@ -427,7 +427,7 @@ function account_track_comments() {
function account_track_nodes() {
global $status, $theme, $user;
- $result = db_query("SELECT n.nid, n.type, n.title, n.timestamp, COUNT(c.cid) AS count FROM nodes n LEFT JOIN comments c ON c.lid = n.nid WHERE n.status = '$status[posted]' AND n.author = '$user->id' GROUP BY n.nid DESC");
+ $result = db_query("SELECT n.nid, n.type, n.title, n.timestamp, COUNT(c.cid) AS count FROM nodes n LEFT JOIN comments c ON c.lid = n.nid WHERE n.status = '$status[posted]' AND n.author = '$user->id' GROUP BY n.nid DESC LIMIT 25");
while ($node = db_fetch_object($result)) {
$output .= "<TABLE BORDER=\"0\" CELLPADDING=\"1\" CELLSPACING=\"1\">\n";