Changeset 2114 for trunk/bp-core/bp-core-avatars.php
- Timestamp:
- 11/24/2009 10:05:01 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-avatars.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-avatars.php
r2088 r2114 117 117 118 118 /* If no avatars have been uploaded for this item, display a gravatar */ 119 if ( ! file_exists( $avatar_url ) && !$no_grav ) {119 if ( !$no_grav ) { 120 120 if ( empty( $bp->grav_default->{$object} ) ) 121 121 $default_grav = 'wavatar'; … … 140 140 return apply_filters( 'bp_core_fetch_avatar', "<img src='{$gravatar}' alt='{$alt}' id='{$css_id}' class='{$class}'{$html_width}{$html_height} />", $params ); 141 141 142 } else if ( !file_exists( $avatar_url ) && $no_grav ) 143 return false; 142 } else { 143 return false; 144 } 144 145 } 145 146
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)