[buddypress-trac] [BuddyPress] #2947: bp_get_the_profile_field_options( 'type=datebox' ) - missing saved value and "type" parameter in filter

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Jan 4 12:30:19 UTC 2011


#2947: bp_get_the_profile_field_options( 'type=datebox' ) - missing saved value
and "type" parameter in filter
-----------------------+-----------------------------
  Reporter:  r-a-y     |      Owner:
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  Awaiting Review
 Component:  XProfile  |    Version:  1.3
Resolution:            |   Keywords:  has-patch
-----------------------+-----------------------------

Comment (by boonebgorges):

 Nice catch on your part, cnorris23 - I hadn't thought about empty fields
 showing up on the public profile. I made a tweak to your fix in 2947.004
 to make sure that we avoid PHP warnings in cases where $field->data is
 empty (that is, when the user hasn't yet selected a value for that
 option).

 Gonna commit this one as I think the two of us have been through it pretty
 thoroughly. Feel free to reopen if you spot more problems.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2947#comment:6>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list