Changeset 8963
- Timestamp:
- 08/25/2014 10:49:29 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-template.php
r8822 r8963 335 335 $field_ids = array(); 336 336 foreach ( $profile_template->groups as $group ) { 337 $field_ids = array_merge( $field_ids, wp_list_pluck( $group->fields, 'id' ) ); 337 if ( ! empty( $group->fields ) ) { 338 $field_ids = array_merge( $field_ids, wp_list_pluck( $group->fields, 'id' ) ); 339 } 338 340 } 339 341
Note: See TracChangeset
for help on using the changeset viewer.