Changeset 5949
- Timestamp:
- 03/29/2012 01:19:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-template.php
r5837 r5949 555 555 case 'checkbox': 556 556 $option_values = BP_XProfile_ProfileData::get_value_byid( $field->id ); 557 $option_values = maybe_unserialize( $option_values );557 $option_values = (array) maybe_unserialize( $option_values ); 558 558 559 559 // Check for updated posted values, but errors preventing them from being saved first time … … 575 575 576 576 // @todo $value is never created 577 if ( $option_values[$j] == $allowed_options || @in_array( $allowed_options, $ value) ) {577 if ( $option_values[$j] == $allowed_options || @in_array( $allowed_options, $option_values ) ) { 578 578 $selected = ' checked="checked"'; 579 579 break;
Note: See TracChangeset
for help on using the changeset viewer.