Bugzilla – Attachment 72095 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.29 KB, created by
Jonathan Druart
on 2018-02-22 17:18:30 UTC
(
hide
)
Description:
Bug 19933: (follow-up) Remove patronflags - easy ones
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-02-22 17:18:30 UTC
Size:
1.29 KB
patch
obsolete
>From 0eb43eef78f674458f9cb7621262d25682c1f29d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 22 Feb 2018 14:14:35 -0300 >Subject: [PATCH] Bug 19933: (follow-up) Remove patronflags - easy ones > >--- > members/deletemem.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/members/deletemem.pl b/members/deletemem.pl >index 90f9730caa..23f254c2a1 100755 >--- a/members/deletemem.pl >+++ b/members/deletemem.pl >@@ -74,7 +74,6 @@ if ( C4::Context->preference('NorwegianPatronDBEnable') && C4::Context->preferen > } > } > >-my $patron = Koha::Patrons->find( $member ); > my $countissues = $patron->pending_checkouts->count; > my $charges = $patron->account->non_issues_charges; > my $userenv = C4::Context->userenv; >@@ -104,7 +103,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.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 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