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

Alex Arnaud <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #87721|0                           |1
        is obsolete|                            |

--- Comment #15 from Alex Arnaud <[email protected]> ---
Created attachment 88192
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88192&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)

Signed-off-by: Martin Renvoize <[email protected]>
Signed-off-by: Alex Arnaud <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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