diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-09-30 10:01:55 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-09-30 10:01:55 +0000 |
commit | 8caf16cde4cebcea3534e9ff3803bef2092374b2 (patch) | |
tree | d8cf70ba476ec73f70967e917c9c5a5c7f2ee2ff /modules/blog/blog.module | |
parent | 27a56d71188f67f16438669a9b26767972640d96 (diff) | |
download | brdo-8caf16cde4cebcea3534e9ff3803bef2092374b2.tar.gz brdo-8caf16cde4cebcea3534e9ff3803bef2092374b2.tar.bz2 |
- small improvement to the "user blogs" block
Diffstat (limited to 'modules/blog/blog.module')
-rw-r--r-- | modules/blog/blog.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 58c5d9e03..19e8b97e1 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -352,7 +352,7 @@ function blog_block() { $result = db_query("SELECT u.uid, u.name, n.timestamp, n.title, n.nid FROM node n LEFT JOIN user u ON n.author = u.uid WHERE n.type = 'blog' ORDER BY n.nid DESC LIMIT 10"); while ($node = db_fetch_object($result)) { - $output .= "<a href=\"module.php?mod=blog&op=view&id=$node->uid\">". check_output($node->title) ."</a><br />\n"; + $output .= "<a href=\"node.php?id=$node->nid\">". check_output($node->title) ."</a><br />\n"; } $block[0]["subject"] = "<a href=\"module.php?mod=blog\">". t("User blogs") ."</a>"; |