Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/02/2011 02:42:49 PM (14 years ago)
Author:
boonebgorges
Message:

Fixes PHP warning in bp_get_activity_secondary_avatar()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-templatetags.php

    r3635 r3647  
    515515                $item_id = $activities_template->activity->item_id;
    516516
    517                 if ( !$alt )
     517                if ( empty( $alt ) )
    518518                    $alt = __( 'Group logo of %s', 'buddypress' );
    519519
     
    531531                $item_id = $activities_template->activity->secondary_item_id;
    532532
    533                 if ( !$alt )
     533                if ( empty( $alt ) )
    534534                    $alt = __( 'Profile picture of %s', 'buddypress' );
    535535
Note: See TracChangeset for help on using the changeset viewer.