Bugzilla – Attachment 76924 Details for
Bug 20287
Move AddMember and ModMember to Koha::Patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20287: (QA follow-up) Fix warning on undefined
Bug-20287-QA-follow-up-Fix-warning-on-undefined.patch (text/plain), 1.14 KB, created by
Jonathan Druart
on 2018-07-12 18:50:56 UTC
(
hide
)
Description:
Bug 20287: (QA follow-up) Fix warning on undefined
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-07-12 18:50:56 UTC
Size:
1.14 KB
patch
obsolete
>From d85cb5b080baca269819322a45fece529e9e80e3 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 29 Jun 2018 10:54:52 -0300 >Subject: [PATCH] Bug 20287: (QA follow-up) Fix warning on undefined > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Patron.pm | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index 420b576058..4ad3124a6a 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -294,7 +294,10 @@ sub store { > > my $borrowers_log = C4::Context->preference("BorrowersLog"); > my $previous_cardnumber = $self->get_from_storage->cardnumber; >- if ( $borrowers_log && $previous_cardnumber ne $self->cardnumber ) >+ if ($borrowers_log >+ && ( !defined $previous_cardnumber >+ || $previous_cardnumber ne $self->cardnumber ) >+ ) > { > logaction( > "MEMBERS", >-- >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 20287
:
73436
|
76901
|
76902
|
76903
|
76904
|
76905
|
76906
|
76907
|
76908
|
76909
|
76910
|
76911
|
76912
|
76913
|
76914
|
76915
|
76916
|
76917
|
76918
|
76919
|
76920
|
76921
|
76922
|
76923
| 76924 |
76927
|
77221