summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-08-21 19:37:25 +0000
committerDries Buytaert <dries@buytaert.net>2004-08-21 19:37:25 +0000
commitcc5df6e510e58552d044251cc592c207c3806f3d (patch)
tree366d6aaad20c8f977c6cc1e9d5a2b98e9510d0c8 /modules/blog
parent47b72af6129036dad48f34013f0895b144eb4583 (diff)
downloadbrdo-cc5df6e510e58552d044251cc592c207c3806f3d.tar.gz
brdo-cc5df6e510e58552d044251cc592c207c3806f3d.tar.bz2
Patch #7603 by JonBob: emit absolute URLs where possible (even though it isn't strictly necessary).
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index a40bb64b3..5711bd7b5 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);
}