diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-06-15 06:45:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-06-15 06:45:53 +0000 |
commit | 677dbd46e24df171a3820598594bfb1c7df9309a (patch) | |
tree | 5d0e54463820a7f61920fea7cb593b3c28a3b6e5 /modules/blog | |
parent | a844e58013e700e06317e5eb117fccba67b15b6f (diff) | |
download | brdo-677dbd46e24df171a3820598594bfb1c7df9309a.tar.gz brdo-677dbd46e24df171a3820598594bfb1c7df9309a.tar.bz2 |
- Bugfix: fixed broken links in the emitted RSS feed discovery code. Modified
patch by Kjartan.
Diffstat (limited to 'modules/blog')
-rw-r--r-- | modules/blog/blog.module | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 4b503f024..7b96ddc89 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -54,9 +54,8 @@ function blog_head($main = 0) { $output = array(); - if ($mod == "blog" && $id) { - $account = user_load(array("uid" => $id)); - $output[] = "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS - ". $account->name. "'s blog\" href=\"". url("blog/view/$id") ."\" />"; + if ($mod == "blog") { + $output[] = "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS feed\" href=\"". url("blog/feed/$id") ."\" />"; } return $output; |