Commit ff6976f6 authored by Dries's avatar Dries
Browse files

- Fixed broken URL in the blog module's feed.  Reported by Gunnar.
parent 8952e9c5
......@@ -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);
}
......
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment