Changeset 6164
- Timestamp:
- 07/02/2012 06:25:50 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-xprofile/bp-xprofile-classes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-classes.php
r6112 r6164 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'] ) && 'disabled' != $admin_set_levels[$field->id]['allow_custom'];306 $allow_custom = empty( $admin_set_levels[$field->id]['allow_custom'] ) || 'disabled' == $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.