Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2012 09:32:04 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Breathing room for cast variables.

File:
1 edited

Legend:

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

    r5705 r5729  
    7979    global $wpdb;
    8080
    81     foreach( (array)$comments as $comment ) {
     81    foreach( (array) $comments as $comment ) {
    8282        if ( $comment->user_id )
    8383            $user_ids[] = $comment->user_id;
     
    9292        return $comments;
    9393
    94     foreach( (array)$userdata as $user )
     94    foreach( (array) $userdata as $user )
    9595        $users[$user->user_id] = bp_core_get_user_domain( $user->user_id, $user->user_nicename, $user->user_login );
    9696
    97     foreach( (array)$comments as $i => $comment ) {
     97    foreach( (array) $comments as $i => $comment ) {
    9898        if ( !empty( $comment->user_id ) ) {
    9999            if ( !empty( $users[$comment->user_id] ) )
Note: See TracChangeset for help on using the changeset viewer.