diff --git src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php
index 34d752d..28f85bd 100644
|
|
class BP_XProfile_Field_Type_Checkbox extends BP_XProfile_Field_Type { |
122 | 122 | |
123 | 123 | $option_values = ( $option_values ) ? (array) $option_values : array(); |
124 | 124 | |
125 | | $html = ''; |
| 125 | $html = sprintf( '<div id="%s">', esc_attr( 'field_' . $this->field_obj->id ) ); |
126 | 126 | |
127 | 127 | // Check for updated posted values, but errors preventing them from |
128 | 128 | // being saved first time. |
… |
… |
class BP_XProfile_Field_Type_Checkbox extends BP_XProfile_Field_Type { |
176 | 176 | $html .= apply_filters( 'bp_get_the_profile_field_options_checkbox', $new_html, $options[$k], $this->field_obj->id, $selected, $k ); |
177 | 177 | } |
178 | 178 | |
179 | | echo $html; |
| 179 | echo $html . '</div>'; |
180 | 180 | } |
181 | 181 | |
182 | 182 | /** |