[Koha-bugs] [Bug 25769] Patron self modification triggers change request for date of birth to null

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 19 18:12:17 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25769

--- Comment #5 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Martin Renvoize from comment #3)
> Comment on attachment 105938 [details] [review]
> Bug 25769: Patron self modification triggers change request for date of
> birth to null
> 
> Review of attachment 105938 [details] [review]:
> -----------------------------------------------------------------
> 
> ::: opac/opac-memberentry.pl
> @@ +484,5 @@
> >  
> > +    if ( defined $borrower{'dateofbirth'} ) {
> > +        my $dob_dt;
> > +        $dob_dt = eval { dt_from_string( $borrower{'dateofbirth'} ); }
> > +            if ( $borrower{'dateofbirth'} );
> 
> You're now testing if $borrower{'dateofbirth'} is defined above.. do you
> still need to test it here too?

I suppose not! Followup will be forthcoming.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list