Bugzilla – Attachment 72556 Details for
Bug 20348
SIP2 patron identification fails to use userid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20348: SIP2 patron identification fails to use userid
Bug-20348-SIP2-patron-identification-fails-to-use-.patch (text/plain), 1.12 KB, created by
Josef Moravec
on 2018-03-09 08:02:52 UTC
(
hide
)
Description:
Bug 20348: SIP2 patron identification fails to use userid
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-03-09 08:02:52 UTC
Size:
1.12 KB
patch
obsolete
>From 7b2d099d734b3a0560133caac652fd018a6e5673 Mon Sep 17 00:00:00 2001 >From: Jose Martin <jose.i.martin.cuesta@gmail.com> >Date: Wed, 7 Mar 2018 15:21:39 +0300 >Subject: [PATCH] Bug 20348: SIP2 patron identification fails to use userid > >Replaces "or" with "||" in variable assignment > >second attempt to retrieve borrower was not being executed due >to changed precedence > >Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > C4/SIP/ILS/Patron.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/SIP/ILS/Patron.pm b/C4/SIP/ILS/Patron.pm >index 17034c0..52a7ff0 100644 >--- a/C4/SIP/ILS/Patron.pm >+++ b/C4/SIP/ILS/Patron.pm >@@ -33,7 +33,7 @@ sub new { > my $type = ref($class) || $class; > my $self; > $kp = Koha::Patrons->find( { cardnumber => $patron_id } ) >- or Koha::Patrons->find( { userid => $patron_id } ); >+ || Koha::Patrons->find( { userid => $patron_id } ); > $debug and warn "new Patron: " . Dumper($kp->unblessed) if $kp; > unless ($kp) { > syslog("LOG_DEBUG", "new ILS::Patron(%s): no such patron", $patron_id); >-- >2.1.4
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 20348
:
72502
|
72539
| 72556