Bugzilla – Attachment 66360 Details for
Bug 17829
Move GetMember to Koha::Patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17829: (follow-up) Fix import patron
Bug-17829-follow-up-Fix-import-patron.patch (text/plain), 1.10 KB, created by
Jonathan Druart
on 2017-08-22 16:42:08 UTC
(
hide
)
Description:
Bug 17829: (follow-up) Fix import patron
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-08-22 16:42:08 UTC
Size:
1.10 KB
patch
obsolete
>From 02053149a0888bb56c8f82946ff5db4788f6e7f6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 22 Aug 2017 13:41:16 -0300 >Subject: [PATCH] Bug 17829: (follow-up) Fix import patron > >--- > tools/import_borrowers.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl >index 4ed4bf609f..d0aa3ebe67 100755 >--- a/tools/import_borrowers.pl >+++ b/tools/import_borrowers.pl >@@ -238,7 +238,7 @@ if ( $uploadborrowers && length($uploadborrowers) > 0 ) { > if ( ($matchpoint eq 'cardnumber') && ($borrower{'cardnumber'}) ) { > $member = Koha::Patrons->find( { cardnumber => $borrower{'cardnumber'} } ); > } elsif ( ($matchpoint eq 'userid') && ($borrower{'userid'}) ) { >- $member = Koha::Patrons->find( { userid => $borrower{'userid'} } )->unblessed; >+ $member = Koha::Patrons->find( { userid => $borrower{'userid'} } ); > } elsif ($extended) { > if (defined($matchpoint_attr_type)) { > foreach my $attr (@$patron_attributes) { >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17829
:
64872
|
64873
|
64971
|
64972
|
64973
|
64976
|
65002
|
65213
|
65286
|
65549
|
65778
| 66360 |
68634