summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/blog.module2
-rw-r--r--modules/blog/blog.module2
2 files changed, 2 insertions, 2 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);
}
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index f8cd33d1f..cc5c7aca7 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/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);
}