[buddypress-trac] [BuddyPress Trac] #5731: text/number profile fields not rendered if value == 0

buddypress-trac noreply at wordpress.org
Mon Jun 30 23:47:17 UTC 2014


#5731: text/number profile fields not rendered if value == 0
--------------------------+---------------------
 Reporter:  DJPaul        |       Owner:  djpaul
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.1
Component:  XProfile      |     Version:  1.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------

Comment (by WCUADD):

 This is about rendering normal value "0" in xprofile field [[BR]]
 but line 89 in bp-xprofile-screens.php (and line 109 in bp-members-
 screens.php) - trunk version

 {{{
 if ( $is_required[$field_id] && empty( $_POST['field_' . $field_id] ) ) {
    $errors = true;
 }
 }}}
 seem to reject normal value "0" entry causing error while registering or
 updating profile? [[BR]]
 If confirmed and not already fixed, perhaps it should be a new ticket?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5731#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list