Changeset 916
- Timestamp:
- 01/26/2009 05:56:14 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs.php
r906 r916 502 502 503 503 // Record in activity streams 504 bp_blogs_record_activity( array( 'item_id' => $recorded_commment_id, 'component_name' => 'blogs', 'component_action' => 'new_blog_comment', 'is_private' => $is_private, 'user_id' => $ user_id ) );504 bp_blogs_record_activity( array( 'item_id' => $recorded_commment_id, 'component_name' => 'blogs', 'component_action' => 'new_blog_comment', 'is_private' => $is_private, 'user_id' => $recorded_comment->user_id ) ); 505 505 } 506 506 } else { -
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.