[buddypress-trac] [BuddyPress] #4911: xprofile admin validate, wrong validate

buddypress-trac noreply at wordpress.org
Wed Apr 3 10:41:50 UTC 2013


#4911: xprofile admin validate, wrong validate
--------------------------+-----------------------------
 Reporter:  eggproject    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  XProfile      |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 } else if ( empty( $_POST['field_file'] ) && $_POST['fieldtype'] ==
 'selectbox' && empty( $_POST['selectbox_option'][1] ) ) {

 empty($_POST['selectbox_option'][1]) change to !isset

 } else if ( empty( $_POST['field_file'] ) && $_POST['fieldtype'] ==
 'selectbox' && !isset( $_POST['selectbox_option'][1] ) ) {

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4911>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list