From f4f93b2782d05cc49223c057e002758e47d044a7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 3 Aug 2010 02:02:02 +0000 Subject: - Patch #850178 by karschsp, andypost: URL argument to drupal_feed_icon() and theme_feed_icon() has url() applied twice. --- modules/blog/blog.pages.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/blog') diff --git a/modules/blog/blog.pages.inc b/modules/blog/blog.pages.inc index 587fbbf29..eea45e4dd 100644 --- a/modules/blog/blog.pages.inc +++ b/modules/blog/blog.pages.inc @@ -45,7 +45,7 @@ function blog_page_user($account) { drupal_set_message(t('!author has not created any blog entries.', array('!author' => theme('username', array('account' => $account))))); } } - drupal_add_feed(url('blog/' . $account->uid . '/feed'), t('RSS - !title', array('!title' => $title))); + drupal_add_feed('blog/' . $account->uid . '/feed', t('RSS - !title', array('!title' => $title))); return $build; } @@ -80,7 +80,7 @@ function blog_page_last() { else { drupal_set_message(t('No blog entries have been created.')); } - drupal_add_feed(url('blog/feed'), t('RSS - blogs')); + drupal_add_feed('blog/feed', t('RSS - blogs')); return $build; } -- cgit v1.2.3