diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-02-21 14:45:46 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-02-21 14:45:46 +0000 |
commit | 8b3bf4d005dff403b222e8eaae3011c3884e52d4 (patch) | |
tree | 46d6175fe339320ad81a22a8929f4ebdefe11940 /modules/user | |
parent | 3bef13458a97c7216df3d46b978240b8df9d7e94 (diff) | |
download | brdo-8b3bf4d005dff403b222e8eaae3011c3884e52d4.tar.gz brdo-8b3bf4d005dff403b222e8eaae3011c3884e52d4.tar.bz2 |
- Patch #50106 by webchick: code clean-up.
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
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'), |