diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user.module | 3 | ||||
-rw-r--r-- | modules/user/user.module | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/user.module b/modules/user.module index d76e9c664..cf2f07a98 100644 --- a/modules/user.module +++ b/modules/user.module @@ -684,7 +684,8 @@ function user_menu($may_cache) { if ($user->uid) { $items[] = array('path' => 'user/'. $user->uid, 'title' => t('my account'), - 'callback' => 'user_page', 'access' => TRUE); + 'callback' => 'user_page', 'access' => TRUE, + 'type' => MENU_DYNAMIC_ITEM); } $items[] = array('path' => 'logout', 'title' => t('log out'), diff --git a/modules/user/user.module b/modules/user/user.module index d76e9c664..cf2f07a98 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -684,7 +684,8 @@ function user_menu($may_cache) { if ($user->uid) { $items[] = array('path' => 'user/'. $user->uid, 'title' => t('my account'), - 'callback' => 'user_page', 'access' => TRUE); + 'callback' => 'user_page', 'access' => TRUE, + 'type' => MENU_DYNAMIC_ITEM); } $items[] = array('path' => 'logout', 'title' => t('log out'), |