Changeset 6174
- Timestamp:
- 07/11/2012 05:56:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-classes.php
r6165 r6174 304 304 foreach( (array)$fields as $key => $field ) { 305 305 // Does the admin allow this field to be customized? 306 $allow_custom = empty( $admin_set_levels[$field->id]['allow_custom'] ) || ' enabled' == $admin_set_levels[$field->id]['allow_custom'];306 $allow_custom = empty( $admin_set_levels[$field->id]['allow_custom'] ) || 'allowed' == $admin_set_levels[$field->id]['allow_custom']; 307 307 308 308 // Look to see if the user has set the visibility for this field
Note: See TracChangeset
for help on using the changeset viewer.