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

(-)a/members/memberentry.pl (-2 / +1 lines)
Lines 277-283 $newdata{'lang'} = $input->param('lang') if defined($input->param('lang')) Link Here
277
# builds default userid
277
# builds default userid
278
# userid input text may be empty or missing because of syspref BorrowerUnwantedField
278
# userid input text may be empty or missing because of syspref BorrowerUnwantedField
279
if ( ( defined $newdata{'userid'} && $newdata{'userid'} eq '' ) || $check_BorrowerUnwantedField =~ /userid/ && !defined $data{'userid'} ) {
279
if ( ( defined $newdata{'userid'} && $newdata{'userid'} eq '' ) || $check_BorrowerUnwantedField =~ /userid/ && !defined $data{'userid'} ) {
280
    if ( ( defined $newdata{'firstname'} ) && ( defined $newdata{'surname'} ) ) {
280
    if ( ( defined $newdata{'firstname'} || $category_type eq 'I' ) && ( defined $newdata{'surname'} ) ) {
281
        # Full page edit, firstname and surname input zones are present
281
        # Full page edit, firstname and surname input zones are present
282
        $patron->firstname($newdata{firstname});
282
        $patron->firstname($newdata{firstname});
283
        $patron->surname($newdata{surname});
283
        $patron->surname($newdata{surname});
284
- 

Return to bug 13655