diff --git a/modules/user.module b/modules/user.module index b641e81bc09c9d4e4c20de8480ee7e04ba4866f2..979fc4daa91ab39fd779e5446d16a5afa9c3be9b 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 b641e81bc09c9d4e4c20de8480ee7e04ba4866f2..979fc4daa91ab39fd779e5446d16a5afa9c3be9b 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'),