- Timestamp:
- 07/09/2015 12:28:55 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-group.php
r9974 r10002 141 141 $query = $wpdb->query( $sql ); 142 142 143 // Bail if query fails 144 if ( empty( $query )|| is_wp_error( $query ) ) {143 // Bail if query fails. If `$query` is 0, it means the save was successful, but no fields were updated. 144 if ( false === $query || is_wp_error( $query ) ) { 145 145 return false; 146 146 }
Note: See TracChangeset
for help on using the changeset viewer.