Skip to content
Snippets Groups Projects
Commit 0340d4d5 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #117953 by Matt Westgate: make blog module hook_profile_alter friendly.

parent 0ef3cd3e
No related branches found
No related tags found
No related merge requests found
......@@ -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',
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment