Skip to:
Content

BuddyPress.org

Changeset 6174


Ignore:
Timestamp:
07/11/2012 05:56:13 PM (12 years ago)
Author:
boonebgorges
Message:

Fixes 'enabled'/'allowed' type in BP_XProfile_Group::fetch_visibility_level()

See #4348

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-classes.php

    r6165 r6174  
    304304        foreach( (array)$fields as $key => $field ) {
    305305            // 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'];
    307307
    308308            // Look to see if the user has set the visibility for this field
Note: See TracChangeset for help on using the changeset viewer.