Changeset 916 for trunk/bp-blogs/bp-blogs-classes.php
- Timestamp:
- 01/26/2009 05:56:14 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-classes.php
r905 r916 193 193 global $wpdb; 194 194 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 } 198 200 } 199 201
Note: See TracChangeset
for help on using the changeset viewer.