diff --git a/modules/user.module b/modules/user.module index cc169615c4e..cd6f2bb9798 100644 --- a/modules/user.module +++ b/modules/user.module @@ -571,7 +571,7 @@ function theme_user_picture($account) { if ($picture) { $picture = "\"" $account->name ? $account->name : t(variable_get('anonymous', 'Anonymous')))) . '" />'; if ($account->uid) { - $picture = l($picture, "user/view/$account->uid", array('title' => t('View user profile.'))); + $picture = l($picture, "user/$account->uid", array('title' => t('View user profile.'))); } return "
$picture
"; diff --git a/modules/user/user.module b/modules/user/user.module index cc169615c4e..cd6f2bb9798 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -571,7 +571,7 @@ function theme_user_picture($account) { if ($picture) { $picture = "\"" $account->name ? $account->name : t(variable_get('anonymous', 'Anonymous')))) . '" />'; if ($account->uid) { - $picture = l($picture, "user/view/$account->uid", array('title' => t('View user profile.'))); + $picture = l($picture, "user/$account->uid", array('title' => t('View user profile.'))); } return "
$picture
";