From cc5df6e510e58552d044251cc592c207c3806f3d Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Sat, 21 Aug 2004 19:37:25 +0000 Subject: [PATCH] Patch #7603 by JonBob: emit absolute URLs where possible (even though it isn't strictly necessary). --- modules/blog.module | 2 +- modules/blog/blog.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/blog.module b/modules/blog.module index a40bb64b33a7..5711bd7b5be8 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -115,7 +115,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 INNER JOIN {users} u ON n.uid = u.uid WHERE n.type = 'blog' AND n.status = 1 ORDER BY n.created DESC", 0, 15); $channel['title'] = variable_get('site_name', 'drupal') .' blogs'; - $channel['link'] = url('blog'); + $channel['link'] = url('blog', NULL, NULL, TRUE); $channel['description'] = $term->description; node_feed($result, $channel); } diff --git a/modules/blog/blog.module b/modules/blog/blog.module index a40bb64b33a7..5711bd7b5be8 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -115,7 +115,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 INNER JOIN {users} u ON n.uid = u.uid WHERE n.type = 'blog' AND n.status = 1 ORDER BY n.created DESC", 0, 15); $channel['title'] = variable_get('site_name', 'drupal') .' blogs'; - $channel['link'] = url('blog'); + $channel['link'] = url('blog', NULL, NULL, TRUE); $channel['description'] = $term->description; node_feed($result, $channel); } -- GitLab