Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/24/2009 10:05:01 PM (17 years ago)
Author:
apeatling
Message:

Merging 1.1 branch fixes into trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-avatars.php

    r2088 r2114  
    117117
    118118        /* If no avatars have been uploaded for this item, display a gravatar */
    119         if ( !file_exists( $avatar_url ) && !$no_grav ) {
     119        if ( !$no_grav ) {
    120120                if ( empty( $bp->grav_default->{$object} ) )
    121121                        $default_grav = 'wavatar';
     
    140140                return apply_filters( 'bp_core_fetch_avatar', "<img src='{$gravatar}' alt='{$alt}' id='{$css_id}' class='{$class}'{$html_width}{$html_height} />", $params );
    141141
    142         } else if ( !file_exists( $avatar_url ) && $no_grav )
    143                 return false;
     142        } else {
     143                return false;
     144        }
    144145}
    145146
Note: See TracChangeset for help on using the changeset viewer.