summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.module3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index 8e63edd4f..791e9ec84 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -259,6 +259,9 @@ function blog_menu($may_cache) {
'callback' => 'blog_page',
'access' => user_access('access content'),
'type' => MENU_SUGGESTED_ITEM);
+ $items[] = array('path' => 'blog/'. $user->uid, 'title' => t('my blog'),
+ 'access' => user_access('edit own blog'),
+ 'type' => MENU_DYNAMIC_ITEM);
}
return $items;