summaryrefslogtreecommitdiff
path: root/modules/blog.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-03-17 20:09:34 +0000
committerDries Buytaert <dries@buytaert.net>2003-03-17 20:09:34 +0000
commitff6976f619279e1d6ce68db945e30ff0b7075ffb (patch)
tree550a8a01ab4b4780d892d75dc9abebf568207f49 /modules/blog.module
parent8952e9c53e46bdf0231312c4fe6d01c9b54dc579 (diff)
downloadbrdo-ff6976f619279e1d6ce68db945e30ff0b7075ffb.tar.gz
brdo-ff6976f619279e1d6ce68db945e30ff0b7075ffb.tar.bz2
- Fixed broken URL in the blog module's feed. Reported by Gunnar.
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 f8cd33d1f..cc5c7aca7 100644
--- a/modules/blog.module
+++ b/modules/blog.module
@@ -96,7 +96,7 @@ function blog_feed_user($uid = 0) {
function blog_feed_last() {
$result = db_query_range("SELECT n.nid, n.title, n.teaser, n.created, u.name, u.uid FROM node n LEFT JOIN users u ON n.uid = u.uid WHERE n.type = 'blog' AND n.status = 1 ORDER BY n.nid DESC", 0, 15);
$channel["title"] = variable_get("site_name", "drupal") ." blogs";
- $channel["link"] = url("blog/view");
+ $channel["link"] = url("blog");
$channel["description"] = $term->description;
node_feed($result, $channel);
}