Changeset 10210
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/classes/class-bp-activity-activity.php
r10182 r10210 841 841 842 842 // Date query 843 if ( ! empty( $date_query ) && is_array( $date_query ) && class_exists( 'BP_Date_Query' )) {843 if ( ! empty( $date_query ) && is_array( $date_query ) ) { 844 844 $date_query = new BP_Date_Query( $date_query, 'date_recorded' ); 845 845 $sql = preg_replace( '/^\sAND/', '', $date_query->get_sql() ); -
trunk/src/bp-notifications/classes/class-bp-notifications-notification.php
r10141 r10210 814 814 815 815 // Bail if not a proper date query format 816 if ( empty( $date_query ) || ! is_array( $date_query ) || ! class_exists( 'BP_Date_Query' )) {816 if ( empty( $date_query ) || ! is_array( $date_query ) ) { 817 817 return ''; 818 818 }
Note: See TracChangeset
for help on using the changeset viewer.