Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/28/2009 05:50:06 PM (17 years ago)
Author:
apeatling
Message:

Fixes #1111

File:
1 edited

Legend:

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

    r1971 r1973  
    336336        function bp_get_the_profile_field_edit_value() {
    337337                global $field;
     338               
     339                /* Don't ever return an edit value if this is the registration page and nothing has been posted */
     340                if ( bp_is_register_page() && !isset( $_POST['field_' . $field->id] ) )
     341                        return;
    338342               
    339343                /**
Note: See TracChangeset for help on using the changeset viewer.