Closed (fixed)
Project:
User Points User Picture
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2011 at 13:18 UTC
Updated:
15 May 2017 at 21:49 UTC
Jump to comment: Most recent
Comments
Comment #1
anil_89 commentedreplace line 76 in module file
if ( is_object($edit['picture_upload']) && $file = file_save_upload('picture_upload')) {
their is condition mission
thanks
A K RAVAT
Comment #2
lias commentedTo clarify, replace the following in the userpoints_user_picture.module file:
if ((empty($user->picture)) && $file = file_save_upload('picture_upload')) {with
if ( is_object($edit['picture_upload']) && $file = file_save_upload('picture_upload')) {Thanks @ anil_89
Comment #3
anil_89 commentedYes , it should be thanks @Isabug
Comment #4
potop commented