Ticket #8503: 8503.2.patch
| File 8503.2.patch, 795 bytes (added by , 5 years ago) |
|---|
-
src/bp-xprofile/bp-xprofile-functions.php
1302 1302 $levels = (array)$levels; 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 1308 1308 // precedence. … … 1317 1317 } 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; 1323 1323 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)