diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-08-21 19:37:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-08-21 19:37:25 +0000 |
commit | cc5df6e510e58552d044251cc592c207c3806f3d (patch) | |
tree | 366d6aaad20c8f977c6cc1e9d5a2b98e9510d0c8 | |
parent | 47b72af6129036dad48f34013f0895b144eb4583 (diff) | |
download | brdo-cc5df6e510e58552d044251cc592c207c3806f3d.tar.gz brdo-cc5df6e510e58552d044251cc592c207c3806f3d.tar.bz2 |
Patch #7603 by JonBob: emit absolute URLs where possible (even though it isn't strictly necessary).
-rw-r--r-- | modules/blog.module | 2 | ||||
-rw-r--r-- | modules/blog/blog.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog.module b/modules/blog.module index a40bb64b3..5711bd7b5 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 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); } |