Ticket #3977: 3977.01.patch
File 3977.01.patch, 576 bytes (added by , 13 years ago) |
---|
-
bp-xprofile/bp-xprofile-template.php
function bp_avatar_delete_link() { 807 807 function bp_get_user_has_avatar() { 808 808 global $bp; 809 809 810 if ( !bp_core_fetch_avatar( array( 'item_id' => bp_displayed_user_id(), 'no_grav' => true )) )810 if ( bp_core_fetch_avatar( array( 'item_id' => bp_displayed_user_id(), 'no_grav' => true, 'html' => false ) ) == bp_core_avatar_default() ) 811 811 return false; 812 812 813 813 return true;