Skip to:
Content

BuddyPress.org

Changeset 9691


Ignore:
Timestamp:
04/03/2015 09:34:40 PM (10 years ago)
Author:
johnjamesjacoby
Message:

XProfile: s/disallowed/disabled/. See r9682, #6347.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-admin.php

    r9690 r9691  
    368368
    369369                // Validate custom visibility
    370                 if ( ! empty( $_POST['allow-custom-visibility'] ) && in_array( $_POST['allow-custom-visibility'], array( 'allowed', 'disallowed' ) ) ) {
     370                if ( ! empty( $_POST['allow-custom-visibility'] ) && in_array( $_POST['allow-custom-visibility'], array( 'allowed', 'disabled' ) ) ) {
    371371                    bp_xprofile_update_field_meta( $field_id, 'allow_custom_visibility', $_POST['allow-custom-visibility'] );
    372372                }
Note: See TracChangeset for help on using the changeset viewer.