diff options
Diffstat (limited to 'modules/blog/blog.module')
-rw-r--r-- | modules/blog/blog.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 172f6833d..0e6f0a013 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -172,10 +172,10 @@ function blog_menu() { * * Displays the most recent 10 blog titles. */ -function blog_block($op = 'list', $delta = 0) { +function blog_block($op = 'list', $delta = '') { global $user; if ($op == 'list') { - $block[0]['info'] = t('Recent blog posts'); + $block['recent']['info'] = t('Recent blog posts'); return $block; } else if ($op == 'view') { |