Skip to:
Content

BuddyPress.org

Changeset 6112


Ignore:
Timestamp:
06/18/2012 08:45:25 PM (14 years ago)
Author:
boonebgorges
Message:

Provide a fallback value for allow_custom_visibility in profile field edit mode

This ensures that one of the radio buttons will be selected when creating a new
profile field, and the populate() method has not been run.

File:
1 edited

Legend:

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

    r6070 r6112  
    426426        var $is_default_option;
    427427        var $default_visibility;
    428         var $allow_custom_visibility;
     428        var $allow_custom_visibility = 'allowed';
    429429
    430430        var $data;
Note: See TracChangeset for help on using the changeset viewer.