summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.module2
-rw-r--r--modules/blog/blog.pages.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index f79634f29..600a8d33f 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -177,7 +177,7 @@ function blog_block_view($delta = '') {
if ($node_title_list = node_title_list($result)) {
$block['content'] = $node_title_list;
- $block['content'] .= theme('more_link', url('blog'), t('Read the latest blog entries.'));
+ $block['content'] .= theme('more_link', array('url' => url('blog'), 'title' => t('Read the latest blog entries.')));
$block['subject'] = t('Recent blog posts');
return $block;
}
diff --git a/modules/blog/blog.pages.inc b/modules/blog/blog.pages.inc
index 1d3afd563..6936f54be 100644
--- a/modules/blog/blog.pages.inc
+++ b/modules/blog/blog.pages.inc
@@ -55,7 +55,7 @@ function blog_page_user($account) {
drupal_set_message(t('You have not created any blog entries.'));
}
else {
- drupal_set_message(t('!author has not created any blog entries.', array('!author' => theme('username', $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)));