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

(-)a/opac/opac-memberentry.pl (-8 / +4 lines)
Lines 332-344 sub ParseCgiForBorrower { Link Here
332
        }
332
        }
333
    }
333
    }
334
334
335
    my $dob_dt;
335
    $borrower{'dateofbirth'} =
336
    $dob_dt = eval { dt_from_string( $borrower{'dateofbirth'} ); }
336
        eval {
337
        if ( defined( $borrower{'dateofbirth'} ) );
337
          output_pref ( { dt => dt_from_string( $borrower{'dateofbirth'} ) , dateonly => 1, dateformat => 'iso' } );
338
338
        };
339
    $borrower{'dateofbirth'} = output_pref ( { dt => $dob_dt, dateonly => 1, dateformat => 'iso' })
340
        if ( $dob_dt );
341
342
    return %borrower;
339
    return %borrower;
343
}
340
}
344
341
345
- 

Return to bug 14956