Skip to:
Content

BuddyPress.org

Changeset 6384


Ignore:
Timestamp:
10/03/2012 11:56:59 PM (14 years ago)
Author:
r-a-y
Message:

Declare missing variable in bp_xprofile_get_hidden_fields_for_user().

If you were viewing your own profile, a PHP warning would occur in
BP_XProfile_Group::get() when bp_xprofile_get_hidden_fields_for_user()
was called.

File:
1 edited

Legend:

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

    r6352 r6384  
    672672
    673673    // @todo - This is where you'd swap out for current_user_can() checks
    674     $hidden_levels = array();
     674    $hidden_levels = $hidden_fields = array();
    675675
    676676    // Current user is logged in
Note: See TracChangeset for help on using the changeset viewer.