Skip to:
Content

BuddyPress.org

Changeset 8588


Ignore:
Timestamp:
07/10/2014 08:24:23 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Cast $users as array in bp_blogs_record_existing_blogs() to stay consistent with $blog_ids casting in the same function. See #5749.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-functions.php

    r8587 r8588  
    126126
    127127        // Loop through users and record their relationship to this blog
    128         foreach ( $users as $user ) {
     128        foreach ( (array) $users as $user ) {
    129129            bp_blogs_record_blog( $blog_id, $user, true );
    130130        }
Note: See TracChangeset for help on using the changeset viewer.