View | Details | Raw Unified | Return to bug 14867
Collapse All | Expand All

(-)a/members/memberentry.pl (-3 / +3 lines)
Lines 262-269 $newdata{'city'} = $input->param('city') if defined($input->param('city')) Link Here
262
$newdata{'zipcode'} = $input->param('zipcode') if defined($input->param('zipcode'));
262
$newdata{'zipcode'} = $input->param('zipcode') if defined($input->param('zipcode'));
263
$newdata{'country'} = $input->param('country') if defined($input->param('country'));
263
$newdata{'country'} = $input->param('country') if defined($input->param('country'));
264
264
265
#builds default userid
265
# builds default userid
266
if ( (defined $newdata{'userid'}) && ($newdata{'userid'} eq '')){
266
# userid input text may be empty or missing because of syspref BorrowerUnwantedField
267
if ( ( defined $newdata{'userid'} && $newdata{'userid'} eq '' ) || $check_BorrowerUnwantedField =~ /userid/ ) {
267
    if ( ( defined $newdata{'firstname'} ) && ( defined $newdata{'surname'} ) ) {
268
    if ( ( defined $newdata{'firstname'} ) && ( defined $newdata{'surname'} ) ) {
268
        # Full page edit, firstname and surname input zones are present
269
        # Full page edit, firstname and surname input zones are present
269
        $newdata{'userid'} = Generate_Userid( $borrowernumber, $newdata{'firstname'}, $newdata{'surname'} );
270
        $newdata{'userid'} = Generate_Userid( $borrowernumber, $newdata{'firstname'}, $newdata{'surname'} );
270
- 

Return to bug 14867