Changeset 7764 for trunk/bp-xprofile/bp-xprofile-template.php
- Timestamp:
- 01/29/2014 05:01:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-template.php
r7762 r7764 52 52 $this->current_group++; 53 53 54 $this->group = $this->groups[$this->current_group]; 55 $this->group->fields = apply_filters( 'xprofile_group_fields', $this->group->fields, $this->group->id ); 56 $this->field_count = count( $this->group->fields ); 54 $this->group = $this->groups[$this->current_group]; 55 $this->field_count = 0; 56 57 if( ! empty( $this->group->fields ) ) { 58 $this->group->fields = apply_filters( 'xprofile_group_fields', $this->group->fields, $this->group->id ); 59 $this->field_count = count( $this->group->fields ); 60 } 57 61 58 62 return $this->group;
Note: See TracChangeset
for help on using the changeset viewer.