summaryrefslogtreecommitdiff
path: root/modules/blog.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-09-30 10:01:55 +0000
committerDries Buytaert <dries@buytaert.net>2001-09-30 10:01:55 +0000
commit8caf16cde4cebcea3534e9ff3803bef2092374b2 (patch)
treed8cf70ba476ec73f70967e917c9c5a5c7f2ee2ff /modules/blog.module
parent27a56d71188f67f16438669a9b26767972640d96 (diff)
downloadbrdo-8caf16cde4cebcea3534e9ff3803bef2092374b2.tar.gz
brdo-8caf16cde4cebcea3534e9ff3803bef2092374b2.tar.bz2
- small improvement to the "user blogs" block
Diffstat (limited to 'modules/blog.module')
-rw-r--r--modules/blog.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog.module b/modules/blog.module
index 58c5d9e03..19e8b97e1 100644
--- a/modules/blog.module
+++ b/modules/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>";