summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/user.module2
-rw-r--r--modules/user/user.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/user.module b/modules/user.module
index aefa1aea5..d23deda98 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -734,7 +734,7 @@ function user_menu($may_cache) {
//Your personal page
if ($user->uid) {
$items[] = array('path' => 'user/'. $user->uid, 'title' => t('my account'),
- 'callback' => 'user_view', 'callback arguments' => arg(1), 'access' => TRUE,
+ 'callback' => 'user_view', 'callback arguments' => array(arg(1)), 'access' => TRUE,
'type' => MENU_DYNAMIC_ITEM);
}
diff --git a/modules/user/user.module b/modules/user/user.module
index aefa1aea5..d23deda98 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -734,7 +734,7 @@ function user_menu($may_cache) {
//Your personal page
if ($user->uid) {
$items[] = array('path' => 'user/'. $user->uid, 'title' => t('my account'),
- 'callback' => 'user_view', 'callback arguments' => arg(1), 'access' => TRUE,
+ 'callback' => 'user_view', 'callback arguments' => array(arg(1)), 'access' => TRUE,
'type' => MENU_DYNAMIC_ITEM);
}