[Koha-bugs] [Bug 34117] Duplicate patron sets dateenrolled incorrectly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 20 15:25:53 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34117
--- Comment #10 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Ok so maybe I get it now. If that was the original problem then the correct fix
is (in get_expiry_date):
- $date = dt_from_string( $date ) unless ref $date;
+ $date = ref $date ? $date->clone() : dt_from_string( $date );
If confirmed, the same should be apply to get_password_expiry_date.
If all that does not make sense, please ignore me.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list