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

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

Return to bug 14867