[Koha-bugs] [Bug 32501] Koha::Patrons::Import contains incorrect borrowernumber references

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 20 09:16:16 CET 2022


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

--- Comment #1 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 144732
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144732&action=edit
Bug 32501: Consistently refer to borrowernumber

We had a mixture of $patron->borrowernumber, $patron->id and
$borrowernumber.

This patch updates the occurences of $patron->borrowernumber to just
refer to $borrowernumber which is set correctly throughout the script.

Test plan
1) For newly created borrowers on import check that the produced welcome
   notice correctly fills the borrower details from the template.
2) For updated borrowers in the import, check that the debartments still
   work as expected.

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


More information about the Koha-bugs mailing list