Index: bp-core/bp-core-avatars.php
===================================================================
--- bp-core/bp-core-avatars.php	(revision 6331)
+++ bp-core/bp-core-avatars.php	(working copy)
@@ -120,6 +120,7 @@
 	// Compare defaults to passed and extract
 	$params = wp_parse_args( $args, $defaults );
 	extract( $params, EXTR_SKIP );
+	$html = filter_var($html, FILTER_VALIDATE_BOOLEAN); // allow "false" and such
 
 	/** Set item_id ***********************************************************/
 
