summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-20 09:37:00 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-20 09:37:00 +0000
commit0ff0c4beaaf0ae49e8b9b7afeda83a26d8d59666 (patch)
treed9d11833265a2890666463ac739a3ab4d936c4a9 /modules/user/user.module
parent4da1540a9fc8d535d2ce9f99431e23eb2dcc9d8d (diff)
downloadbrdo-0ff0c4beaaf0ae49e8b9b7afeda83a26d8d59666.tar.gz
brdo-0ff0c4beaaf0ae49e8b9b7afeda83a26d8d59666.tar.bz2
- Patch #42137 by Richard: deleting non existent user blocks the whole drupal site.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
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);
}