Changeset 9330 for trunk/src/bp-activity/bp-activity-classes.php
- Timestamp:
- 01/09/2015 06:47:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-classes.php
r9325 r9330 349 349 $scope_query = self::get_scope_query_sql( $r['scope'], $r ); 350 350 351 // Add our SQL conditions if matches were found 351 352 if ( ! empty( $scope_query['sql'] ) ) { 352 353 $where_conditions['scope_query_sql'] = $scope_query['sql']; 354 355 // No matches, so we should alter the SQL statement to match nothing 356 } else { 357 $where_conditions['scope_no_results'] = '0 = 1'; 353 358 } 354 359
Note: See TracChangeset
for help on using the changeset viewer.