summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-08-03 02:02:02 +0000
committerDries Buytaert <dries@buytaert.net>2010-08-03 02:02:02 +0000
commitf4f93b2782d05cc49223c057e002758e47d044a7 (patch)
tree7cc04982167a230a6886f00481406d6f1e5ca56a /modules/blog
parentb601b26b77de75501b33b3de8ecfe6db965cc61c (diff)
downloadbrdo-f4f93b2782d05cc49223c057e002758e47d044a7.tar.gz
brdo-f4f93b2782d05cc49223c057e002758e47d044a7.tar.bz2
- Patch #850178 by karschsp, andypost: URL argument to drupal_feed_icon() and theme_feed_icon() has url() applied twice.
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.pages.inc4
1 files changed, 2 insertions, 2 deletions
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;
}