BuddyPress if not showing the avatar

BuddyPress is the best plugin to manage communities in WordPress.
If happens that you don’t see the avatar, put in your functions.php theme:

This i discovered in

function bp_core_fetch_avatar( $args = ” ) {
$bp = buddypress();

It appears logic that this COSTANT makes to appear or disappear the avatars for users.