summaryrefslogtreecommitdiff
path: root/modules/account.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-03-29 19:50:31 +0000
committerDries Buytaert <dries@buytaert.net>2001-03-29 19:50:31 +0000
commit04ad9b8af902385be50011360da2a2dc9b9785be (patch)
treeed748dd5256076bdaafe7474ca1287acc515e5ae /modules/account.module
parent57eb908a8fe4e4d1ae7b9021c34903ef7267481d (diff)
downloadbrdo-04ad9b8af902385be50011360da2a2dc9b9785be.tar.gz
brdo-04ad9b8af902385be50011360da2a2dc9b9785be.tar.bz2
- fixed issue depricated call-by-reference issues
- fixed small visual glitch in includes/function.inc - changed SQL tables around a bit to be more consistent (result: small changes to a lot of different files) - improved robustness of includes/node.inc - improved output of cron.module - improved output of node.php
Diffstat (limited to 'modules/account.module')
-rw-r--r--modules/account.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/account.module b/modules/account.module
index 178b31301..236993140 100644
--- a/modules/account.module
+++ b/modules/account.module
@@ -59,7 +59,7 @@ function account_blocks($id) {
}
function account_nodes($id) {
- $result = db_query("SELECT * FROM nodes WHERE author = $id ORDER BY timestamp DESC");
+ $result = db_query("SELECT * FROM node WHERE author = $id ORDER BY timestamp DESC");
while ($node = db_fetch_object($result)) {
$output .= "<LI><A HREF=\"node.php?id=$node->nid\">$node->title</A> ($node->type)</LI>\n";
}