summaryrefslogtreecommitdiff
path: root/modules/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-02-21 14:45:46 +0000
committerDries Buytaert <dries@buytaert.net>2006-02-21 14:45:46 +0000
commit8b3bf4d005dff403b222e8eaae3011c3884e52d4 (patch)
tree46d6175fe339320ad81a22a8929f4ebdefe11940 /modules/user.module
parent3bef13458a97c7216df3d46b978240b8df9d7e94 (diff)
downloadbrdo-8b3bf4d005dff403b222e8eaae3011c3884e52d4.tar.gz
brdo-8b3bf4d005dff403b222e8eaae3011c3884e52d4.tar.bz2
- Patch #50106 by webchick: code clean-up.
Diffstat (limited to 'modules/user.module')
-rw-r--r--modules/user.module2
1 files changed, 1 insertions, 1 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'),