Index: bp-xprofile/bp-xprofile-template.php
===================================================================
--- bp-xprofile/bp-xprofile-template.php
+++ bp-xprofile/bp-xprofile-template.php
@@ -807,7 +807,7 @@ function bp_avatar_delete_link() {
 function bp_get_user_has_avatar() {
 	global $bp;
 
-	if ( !bp_core_fetch_avatar( array( 'item_id' => bp_displayed_user_id(), 'no_grav' => true ) ) )
+	if ( bp_core_fetch_avatar( array( 'item_id' => bp_displayed_user_id(), 'no_grav' => true, 'html' => false ) ) == bp_core_avatar_default() )
 		return false;
 
 	return true;
