Changeset 13012 for trunk/src/bp-xprofile/bp-xprofile-functions.php
- Timestamp:
- 07/15/2021 09:58:42 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-functions.php
r12981 r13012 1303 1303 } 1304 1304 1305 $user_visibility_levels = bp_get_user_meta( $user_id, 'bp_xprofile_visibility_levels', true );1305 $user_visibility_levels = (array) bp_get_user_meta( $user_id, 'bp_xprofile_visibility_levels', true ); 1306 1306 1307 1307 // Parse the user-provided visibility levels with the default levels, which may take … … 1318 1318 1319 1319 $field_ids = array(); 1320 foreach( (array)$user_visibility_levels as $field_id => $field_visibility ) {1320 foreach( $user_visibility_levels as $field_id => $field_visibility ) { 1321 1321 if ( in_array( $field_visibility, $levels ) ) { 1322 1322 $field_ids[] = $field_id;
Note: See TracChangeset
for help on using the changeset viewer.