summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b641e81bc..979fc4daa 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -774,7 +774,7 @@ function user_menu($may_cache) {
$items[] = array('path' => 'user/'. arg(1), 'title' => t('user'),
'type' => MENU_CALLBACK, 'callback' => 'user_view',
- 'callback arguments' => arg(1), 'access' => $view_access);
+ 'callback arguments' => array(arg(1)), 'access' => $view_access);
if ($user_exists !== FALSE || $admin_access) {
$items[] = array('path' => 'user/'. arg(1) .'/view', 'title' => t('view'),
diff --git a/modules/user/user.module b/modules/user/user.module
index b641e81bc..979fc4daa 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -774,7 +774,7 @@ function user_menu($may_cache) {
$items[] = array('path' => 'user/'. arg(1), 'title' => t('user'),
'type' => MENU_CALLBACK, 'callback' => 'user_view',
- 'callback arguments' => arg(1), 'access' => $view_access);
+ 'callback arguments' => array(arg(1)), 'access' => $view_access);
if ($user_exists !== FALSE || $admin_access) {
$items[] = array('path' => 'user/'. arg(1) .'/view', 'title' => t('view'),