Changeset 9379
- Timestamp:
- 01/19/2015 08:56:38 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-classes.php
r9378 r9379 935 935 936 936 $query = new BP_Activity_Query( $query_args ); 937 if ( $sql = $query->get_sql() ) { 937 $sql = $query->get_sql(); 938 if ( ! empty( $sql ) ) { 938 939 $retval['sql'] = $sql; 939 940 } … … 2277 2278 2278 2279 // Strip suffixes from ETag if they exist (eg. "-gzip") 2279 if ( $etag_suffix_pos = strpos( $client_etag, '-' ) ) { 2280 $etag_suffix_pos = strpos( $client_etag, '-' ); 2281 if ( ! empty( $etag_suffix_pos ) ) { 2280 2282 $client_etag = substr( $client_etag, 0, $etag_suffix_pos ); 2281 2283 }
Note: See TracChangeset
for help on using the changeset viewer.