[Koha-bugs] [Bug 34435] New: get_password_expiry_date should not modify its parameter

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 27 17:09:32 CEST 2023


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

            Bug ID: 34435
           Summary: get_password_expiry_date should not modify its
                    parameter
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Patrons
          Assignee: emily.lamancusa at montgomerycountymd.gov
          Reporter: emily.lamancusa at montgomerycountymd.gov
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
        Depends on: 34117

If get_password_expiry_date is passed a DateTime object as a parameter, it
modifies and returns the original object. Bug 34117 removed this side effect
from get_expiry_date, so we should remove this side effect from
get_password_expiry_date as well.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34117
[Bug 34117] Duplicate patron sets dateenrolled incorrectly
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list