// If on user profile page
- if (arg(0) == 'user' && is_numeric(arg(1))) {
+ if (arg(0) == 'user' && is_numeric(arg(1)) && arg(1)== $account->uid) {
if (variable_get('user_picture_imagecache_profiles', 0)) {
$size = variable_get('user_picture_imagecache_profiles', 0);
}
}
Above patch set the picture of the user to which current user profile page belongs as profile_default (large), and pictures of all other users (such as avatars from relationship, buddylist or guestbook) on the user profile page are displayed as default (small). Can it be committed ?
Comments
Comment #1
charlesc commentedIt's useful when I installed the user visits module. Thanks!
Comment #2
Audiowave commentedDoes this still need to be put in when using the latest version?
Where do I put it?
Thanks
Comment #3
andypostDuplicate #493734: Patch for correct behavior with Me module