From: Paul S. O. <ps...@us...> - 2002-03-21 15:42:50
|
Update of /cvsroot/phpbb/phpBB2/includes In directory usw-pr-cvs1:/tmp/cvs-serv25883/includes Modified Files: usercp_register.php Log Message: Change lang output upon no passwords entered to Fields_empty ... thanks acydburn ... completely forgot about that :D Index: usercp_register.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/includes/usercp_register.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** usercp_register.php 21 Mar 2002 13:34:02 -0000 1.11 --- usercp_register.php 21 Mar 2002 15:42:45 -0000 1.12 *************** *** 254,261 **** } } ! else if ( ( empty($password) && !empty($password_confirm) ) || ( !empty($password) && empty($password_confirm) ) || ( empty($password) && empty($password_confirm) && $mode == 'register' ) ) { $error = TRUE; $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Password_mismatch']; } --- 254,266 ---- } } ! else if ( ( empty($password) && !empty($password_confirm) ) || ( !empty($password) && empty($password_confirm) ) ) { $error = TRUE; $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Password_mismatch']; + } + else if ( empty($password) && empty($password_confirm) && $mode == 'register' ) + { + $error = TRUE; + $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty']; } |