Ticket #2544: wut.diff
| File wut.diff, 763 bytes (added by , 16 years ago) |
|---|
-
bp-activity/bp-activity-classes.php
113 113 114 114 /* Hide Hidden Items? */ 115 115 if ( !$show_hidden ) 116 $where_conditions['hidden_sql'] = "a.hide_sitewide = 0"; 116 $visibility = '0'; 117 else 118 $visibility = '0, 1'; 117 119 120 $where_conditions['hidden_sql'] = "a.hide_sitewide IN ($visibility)"; 121 118 122 /* Alter the query based on whether we want to show activity item comments in the stream like normal comments or threaded below the activity */ 119 123 if ( !$display_comments || 'threaded' == $display_comments ) { 120 124 $where_conditions[] = "a.type != 'activity_comment'";