[Koha-bugs] [Bug 22461] Regression in #20287: LDAP user replication broken with mapped extended patron attributes
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Mar 16 00:19:35 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22461
--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 86696
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=86696&action=edit
Bug 22461: Fix LDAP user replication
>From bug 20287:
- $borrowernumber = C4::Members::AddMember(%borrower) or die "AddMember
failed";
+ Koha::Patron->new( \%borrower )->store;
C4::Members::Messaging::SetMessagingPreferencesFromDefaults( {
borrowernumber => $borrowernumber, categorycode => $borrower{'categorycode'} }
);
$borrowernumber is not updated with the value of the newly created patron
This patch restores the previous behavior (as well as the die)
--
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