diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-03-07 12:41:02 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-03-07 12:41:02 +0000 |
commit | 0340d4d503c32e0435e122d11c042fd0634ec330 (patch) | |
tree | 2e428af677dced026d36d0f2cd50cd1fd8e33fe2 /modules | |
parent | 0ef3cd3e1eb49dbaaf96b64bf1abed61f44c1718 (diff) | |
download | brdo-0340d4d503c32e0435e122d11c042fd0634ec330.tar.gz brdo-0340d4d503c32e0435e122d11c042fd0634ec330.tar.bz2 |
- Patch #117953 by Matt Westgate: make blog module hook_profile_alter friendly.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/blog/blog.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 6969dbd16..faeceb891 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -48,7 +48,7 @@ function blog_access($op, $node) { */ function blog_user($type, &$edit, &$user) { if ($type == 'view' && user_access('edit own blog', $user)) { - $items[] = array('title' => t('Blog'), + $items['blog'] = array('title' => t('Blog'), 'value' => l(t('View recent blog entries'), "blog/$user->uid", array('title' => t("Read @username's latest blog entries.", array('@username' => $user->name)))), 'class' => 'blog', ); |