Bugzilla – Attachment 130480 Details for
Bug 29859
Favor iterators over as_list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29859: (follow-up) Use iterator instead of as_list
Bug-29859-follow-up-Use-iterator-instead-of-aslist.patch (text/plain), 916 bytes, created by
Jonathan Druart
on 2022-02-11 08:16:28 UTC
(
hide
)
Description:
Bug 29859: (follow-up) Use iterator instead of as_list
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-02-11 08:16:28 UTC
Size:
916 bytes
patch
obsolete
>From 53564ae3e7117d81fd6b01aac0303ef76675e452 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 11 Feb 2022 09:15:34 +0100 >Subject: [PATCH] Bug 29859: (follow-up) Use iterator instead of as_list > >--- > opac/opac-memberentry.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl >index 23552594b5a..db3795dbf4d 100755 >--- a/opac/opac-memberentry.pl >+++ b/opac/opac-memberentry.pl >@@ -162,7 +162,7 @@ if ( $action eq 'create' ) { > borrower => \%borrower > ); > $template->param( patron_attribute_classes => GeneratePatronAttributesForm( undef, $attributes ) ); >- } elsif ( $libraries->find($borrower{branchcode}) ) { >+ } elsif ( !$libraries->find($borrower{branchcode}) ) { > die "Branchcode not allowed"; # They hack the form > } > else { >-- >2.25.1
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 29859
:
129346
|
129350
|
130102
|
130148
|
130149
| 130480 |
130483
|
132972
|
132983