Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/26/2009 05:56:14 AM (16 years ago)
Author:
apeatling
Message:

Fixed problem where public blogs would be treated as private by activity streams.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-classes.php

    r905 r916  
    193193        global $wpdb;
    194194       
    195         return (int)$wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT public FROM {$wpdb->base_prefix}blogs WHERE blog_id = %d", $blog_id ) );
    196     }
    197    
     195        if ( !(int)$wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT public FROM {$wpdb->base_prefix}blogs WHERE blog_id = %d", $blog_id ) ) )
     196            return true;
     197       
     198        return false;
     199    }
    198200}
    199201
Note: See TracChangeset for help on using the changeset viewer.