diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-05-24 18:43:13 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-05-24 18:43:13 +0000 |
commit | f2c769676526548ea0bcb2b04ca4888626978209 (patch) | |
tree | 08658fbacc96317e01a08b8b0dab8fce8bfa623b /modules/blog/blog.module | |
parent | 67675b498c9479fac54547270c209bc5cd469a62 (diff) | |
download | brdo-f2c769676526548ea0bcb2b04ca4888626978209.tar.gz brdo-f2c769676526548ea0bcb2b04ca4888626978209.tar.bz2 |
- Patch 7727 by Benjamin Grant: fixed incorrect <channel> URL in blog feeds.
Diffstat (limited to 'modules/blog/blog.module')
-rw-r--r-- | modules/blog/blog.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index a6737a8d6..a821d474f 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -106,7 +106,7 @@ function blog_feed_user($uid = 0) { $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 u.uid = %d AND n.status = 1 ORDER BY n.nid DESC", $uid, 0, 15); $channel['title'] = $account->name ."'s blog"; - $channel['link'] = url("blog/view/$uid", NULL, NULL, TRUE); + $channel['link'] = url("blog/$uid", NULL, NULL, TRUE); $channel['description'] = $term->description; node_feed($result, $channel); } |