Bugzilla – Attachment 72354 Details for
Bug 19933
Move C4::Members::patronflags to the Koha namespace - part 1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19933: (follow-up) Remove patronflags - easy ones
Bug-19933-follow-up-Remove-patronflags---easy-ones.patch (text/plain), 1.46 KB, created by
Kyle M Hall (khall)
on 2018-03-02 11:18:32 UTC
(
hide
)
Description:
Bug 19933: (follow-up) Remove patronflags - easy ones
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-03-02 11:18:32 UTC
Size:
1.46 KB
patch
obsolete
>From 1bcdcf650113eac860c002e8fffe2348b922cbcb Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 2 Mar 2018 06:01:38 -0500 >Subject: [PATCH] Bug 19933: (follow-up) Remove patronflags - easy ones > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > members/deletemem.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/members/deletemem.pl b/members/deletemem.pl >index 95a560c..7bd8e02 100755 >--- a/members/deletemem.pl >+++ b/members/deletemem.pl >@@ -57,7 +57,6 @@ if ( $loggedinuser == $member ) { > } > > my $logged_in_user = Koha::Patrons->find( $loggedinuser ) or die "Not logged in"; >-my $patron = Koha::Patrons->find( $member ); > output_and_exit_if_error( $input, $cookie, $template, { module => 'members', logged_in_user => $logged_in_user, current_patron => $patron } ); > > # Handle deletion from the Norwegian national patron database, if it is enabled >@@ -108,7 +107,7 @@ if (C4::Context->preference("IndependentBranches")) { > my $op = $input->param('op') || 'delete_confirm'; > my $dbh = C4::Context->dbh; > my $is_guarantor = $dbh->selectrow_array("SELECT COUNT(*) FROM borrowers WHERE guarantorid=?", undef, $member); >-if ( $op eq 'delete_confirm' or $countissues > 0 or $flags->{'CHARGES'} or $is_guarantor or $deletelocal == 0) { >+if ( $op eq 'delete_confirm' or $countissues > 0 or $charges or $is_guarantor or $deletelocal == 0) { > > $template->param( > patron => $patron, >-- >2.10.2
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 19933
:
70347
|
70348
|
70349
|
70350
|
71803
|
71804
|
71805
|
71806
|
72004
|
72005
|
72006
|
72007
|
72094
|
72095
|
72350
|
72351
|
72352
|
72353
|
72354
|
72355
|
72356
|
72472
|
72473
|
72474
|
72475
|
72476
|
72477
|
72478