diff options
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 a997a5807..294a02296 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -776,7 +776,7 @@ function user_menu($may_cache) { 'weight' => 10); } else { - if (arg(0) == 'user' && is_numeric(arg(1))) { + if (arg(0) == 'user' && is_numeric(arg(1)) && arg(1) > 0) { $account = user_load(array('uid' => arg(1))); if ($user !== FALSE) { |