Bugzilla – Attachment 72502 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]
Replaces "or" with "||" in variable assignment
0001-Bug-20348-SIP2-patron-identification-fails-to-use-us.patch (text/plain), 950 bytes, created by
Jose Martin
on 2018-03-07 12:27:10 UTC
(
hide
)
Description:
Replaces "or" with "||" in variable assignment
Filename:
MIME Type:
Creator:
Jose Martin
Created:
2018-03-07 12:27:10 UTC
Size:
950 bytes
patch
obsolete
>From f9a745da46087fb31dd7f14b19728cc94613aaca 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 > >--- > 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.7.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