Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/25/2009 10:02:17 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1089

File:
1 edited

Legend:

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

    r1920 r1956  
    419419               
    420420            case 'radio':
     421                $html = '<div id="field_' . $field->id . '">';
     422               
    421423                for ( $k = 0; $k < count($options); $k++ ) {               
    422424                    $option_value = BP_XProfile_ProfileData::get_value_byid($options[$k]->parent_id);
     
    436438                    $html .= apply_filters( 'bp_get_the_profile_field_options_radio', '<label><input' . $selected . ' type="radio" name="field_' . $field->id . '" id="option_' . $options[$k]->id . '" value="' . attribute_escape( $options[$k]->name ) . '"> ' . attribute_escape( $options[$k]->name ) . '</label>', $options[$k] );
    437439                }
     440               
     441                $html .= '</div>';
    438442                break;
    439443               
Note: See TracChangeset for help on using the changeset viewer.