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

--- Comment #10 from Jonathan Druart <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to