Bugzilla – Attachment 76915 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: There is a warning, we just want to unset the value here
Bug-20287-There-is-a-warning-we-just-want-to-unset.patch (text/plain), 1.39 KB, created by
Jonathan Druart
on 2018-07-12 18:50:11 UTC
(
hide
)
Description:
Bug 20287: There is a warning, we just want to unset the value here
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-07-12 18:50:11 UTC
Size:
1.39 KB
patch
obsolete
>From 57102597f24cd3f0a38c958b7f75019a3020641a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 23 Feb 2018 12:55:48 -0300 >Subject: [PATCH] Bug 20287: There is a warning, we just want to unset the > value here > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/Members.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Members.t b/t/db_dependent/Members.t >index 71cdec6f48..b9a2e3fccf 100755 >--- a/t/db_dependent/Members.t >+++ b/t/db_dependent/Members.t >@@ -295,7 +295,7 @@ $patstodel = GetBorrowersToExpunge( {expired_before => '2015-01-02', patron_list > ok( scalar(@$patstodel) == 1 && $patstodel->[0]->{'borrowernumber'} eq $bor2inlist,'Guarantor patron not deleted by expirationdate and list'); > $patstodel = GetBorrowersToExpunge( {not_borrowed_since => '2016-01-02', patron_list_id => $list1->patron_list_id() } ); > ok( scalar(@$patstodel) == 1 && $patstodel->[0]->{'borrowernumber'} eq $bor2inlist,'Guarantor patron not deleted by last issue date'); >-Koha::Patrons->find($guarantee->{borrowernumber})->set({ guarantorid => '' })->store; >+Koha::Patrons->find($guarantee->{borrowernumber})->set({ guarantorid => undef })->store; > > $builder->build({ > source => 'Issue', >-- >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