[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 13:36:07 CEST 2020


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

--- Comment #3 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Comment on attachment 105938
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105938
Bug 25769: Patron self modification triggers change request for date of birth
to null

Review of attachment 105938:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=25769&attachment=105938)
-----------------------------------------------------------------

::: 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?

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


More information about the Koha-bugs mailing list