Skip to:
Content
Pages
Categories
Search
Top
Bottom

datebox showing admins value instead of members value


  • ellvino
    Member

    @ellvino

    On a site I wanted admins to be able to change a datebox-xprofile field of the members. But when they tried to edit the field it would always show the admins datebox value, and not the members datebox value. So after I looked at the bp_get_the_profile_field_options-function I noticed that the $field is fetched again with BP_XProfile_Field without providing the user_id-argument, hence fetching the admins value and not the members value.
    Anyway I made a temporary fix by using the global variable $profile_template->user_id.
    I hope this is not by design and might be fixed in future releases.

  • The topic ‘datebox showing admins value instead of members value’ is closed to new replies.
Skip to toolbar