-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.x, 3.0.7-PL1
-
None
-
PHP Environment:
Database:
I noticed that the function avatar_process_user in includes/function_user.php checks whether we can upload, however in both instances of the function being used, this check has already been carried out. I have attached a patch which allows optional passing of the $can_upload value to the function to avoid the redundancy.